> For the complete documentation index, see [llms.txt](https://docs.zeroauthority.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zeroauthority.xyz/nova-bot/token-gated-discord-roles/for-admins-setup-roles.md).

# 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
