# Token Permissioned Roles

{% embed url="<https://youtu.be/s1uL5DCId40>" %}

## Configuring Collab.Land

{% hint style="info" %}
Prior to this setup, create a server and [add the Collab.Land bot](https://discord.com/oauth2/authorize?client_id=704521096837464076\&scope=bot\&permissions=8)!\
\
More on the setup [here](https://collab-land.gitbook.io/collab-land/bots/discord).
{% endhint %}

1\) In the collabland-config channel, enter **!setup** to begin the channel access setup

![](/files/-MIVJKOuQ-__dT4ygSQ2)

2\) Click the 🔐 emoji to begin the permissioned role setup.

![](/files/-MIVJT1w7UqFqQvkMl3R)

3\) Choose your token type using the emojis!

![](/files/-MIVSlpaK1WbRRMqZOsy)

4\) Add the following 4 parameters (5 parameters for 1155):\
\
\<token contract address (found on [etherscan](https://etherscan.io/))> \
ex. 0x6b175474e89094c44da98b954eedeac495271d0f\
\
\<min amount of tokens>\
ex. 100\
\
\<max amount of tokens (if no max define as -1)>\
ex. 1000 *or* -1\
\
\<role name (no spaces, caps sensitive)>\
ex. SuperHero\
\
\<token ID (*for 1155 and POAP*)>\
414

{% hint style="info" %}
Ignore the "< >" these should not be sent to the bot
{% endhint %}

4\) Add new tiers of the token role or complete the process!

![](/files/-MIVXc9hcdomlbIzIJ0A)

5\) When users enter the general chat they need to enter **!join** in any general channel for the bot to verify their token holding

![](/files/-MIVLRnQdQXzS8Knp3xd)


---

# 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://collab-land.gitbook.io/collab-land/bots/discord/token-permissioned-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.
