# For Admins (Setup Roles)

### Before You Start

Make sure:

* The bot has the **Manage Roles** permission
* The bot’s role is **above all roles** it should assign
* All Discord roles to be gated are **already created**
* Gated roles are **not managed by other bots or integrations**
* You know the **exact contract IDs** (eg. `SP3...KKZ.nope`) for the assets you want to use

### Setup Flow

1. Run `/roles`
2. Select **Setup Roles**
3. Click **Add Role**
4. Choose a Discord role
5. Select FT or NFT
6. Enter contract and threshold
7. Repeat as needed
8. Review and save

{% hint style="info" %}
**Role Limits**

* Free servers: 10 roles
* Premium servers: 30 roles
  {% endhint %}

### Contract Validation

* Contract must exist on-chain
* FT/NFT type must match
* Threshold must be a positive number


---

# 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.zeroauthority.xyz/nova-bot/token-gated-discord-roles/for-admins-setup-roles.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.
