# Setup Live Now Role

**1.** Invite [Sx Live](https://sxlivebot.com/invite) bot if you haven't already.

**2.** Connect your Twitch or YouTube account to your Discord account if you haven't already.

![User Settings > Connections > Twitch or YouTube](https://3235107011-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPR38BTXhzW04xdbh6h1o%2Fuploads%2FB0YldbckiFoJ1Mf5hGcq%2FDiscord_3s4bCo1fDA.png?alt=media\&token=69256407-8cb3-4455-b1c1-64dde480fceb)

**3.** Make sure that Streamer Mode is enabled in your user settings.

![User Settings > Streamer Mode > Enable Streamer Mode](https://3235107011-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPR38BTXhzW04xdbh6h1o%2Fuploads%2FKd0P9MB1NyVJkeFfPyPA%2FstreamerMode.png?alt=media\&token=c21ac06d-53ca-442e-be93-670862afd100)

**4.** Create a live role if you haven't already.

**5.** Configure the bot to the live role you created.\
**Example:`+tliverole set "Now Live" or "Streaming on Twitch"`**\
**Example:`+ytliverole set "Live Now" or "Streaming on YouTube"`**

{% hint style="warning" %}
Make sure the Sx Live role is above the live you created and the bot has Manage Roles permissions.&#x20;
{% endhint %}

![Role List](https://3235107011-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPR38BTXhzW04xdbh6h1o%2Fuploads%2FoIq2HvPnRWR9WplFEuCb%2FDiscord_LsSkTszXWi.png?alt=media\&token=05107a96-1930-4de2-a5dd-c3b9f8a26783)

**7.\[optional]** Filter users who receive the live role by enabling only streamers.\
**Example:`+tonlystreamers enable`**\
**Example:`+ytonlystreamers enable`**

{% hint style="warning" %}
By default, everyone in the server will receive the live role. If you want only certain users to receive the live role, you can filter it by enabling only streamers mode. If only streamers is enabled, you will be required to add individual users using the **+tstreamers add** or **+ytstreamers add** command, or set a whitelisted role with +**twhitelist add** or **+ytwhitelist add**
{% endhint %}

**8.\[optional]** Add individual users in your server who will receive the live role is only streamers mode is enabled.\
**Example:`+tstreamers add @user#3214`**\
**Example:`+ytstreamers add @user#4141`**

{% hint style="success" %}
All done! The live roles are setup!
{% endhint %}

{% hint style="warning" %}
For the live role to work correctly, you need to see a purple streaming icon next to the user names who are streaming.
{% endhint %}

![Stream Icon](https://3235107011-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPR38BTXhzW04xdbh6h1o%2Fuploads%2F6mYZAXCVAF2NyxknV0jn%2Fstreaming.png?alt=media\&token=cb3d31f1-5adf-4bad-a0aa-ca3ddbd6f1f0)

We also have created a walkthrough video on how to setup the live roles. If you only need the live role, you don't need to complete the last 2 steps of setting the channel and streamer.

{% embed url="<https://sxbot.io/img/tdemo.gif>" %}
Live Role Setup
{% endembed %}

If you still need assistance, please join our [Discord server](https://support.sxlivebot.com).


---

# 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.sxbot.io/sx-live-streaming-bot/setup-live-now-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.
