# Setup Spotify Role

**1.**  [Add Sx Live to your server](https://discord.com/oauth2/authorize?client_id=540349742178107409\&permissions=268946504\&response_type=code\&redirect_uri=https%3A%2F%2Fsxlivebot.com%2Fwelcome%3Fsource%3Dwebsite\&scope=bot%20applications.commands) if you haven't already.

**2.** Create a listening to Spotify role if you haven't already

**3.** Configure the bot to the spotify role you created.\
**Example:`+spotifyrole set @Listening to Spotify`**

{% hint style="warning" %}
Make sure the bot has **Manage Roles** permissions and the Sx Bot role is above in the Spotify role in the roles list in server settings.
{% endhint %}

{% hint style="success" %}
All done! Members will now receive this role when listening to Spotify.
{% endhint %}

![Discord Spotify role example](/files/LIJW1s7KZXoqtdkXx4PD)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sxlivebot.com/spotify-roles/setup-spotify-role.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
