# Discord

## Two Options for Hat-Gating Discord

The two token-gating platforms most commonly used for connecting Discord authorities to specific hats are 1) Collab.Land and 2) Guild.xyz. In either case, the basic steps are the same:

* Connect your Discord server to Collab.Land or Guild.xyz
* Add a requirement that an address must hold a specific Hats token ID in order to receive a given Discord role
* Give that Discord role access to specific permissions and channels within Discord

Following are detailed descriptions of how to use each gating option:

* [**Collab.Land**](/hats-integrations/permissions-and-authorities/discord/collab.land-greater-than-discord.md)
* [**Guild.xyz**](/hats-integrations/permissions-and-authorities/discord/guild.xyz-greater-than-discord.md)


---

# 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.hatsprotocol.xyz/hats-integrations/permissions-and-authorities/discord.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.
