# Steps in Discord

To connect to Discord, you need to create a developer account to obtain the bot token, client ID, and client secret values by creating a custom application from your Discord developer account.

1. Log in to the [Discord developer account](https://discord.com/developers/applications).
2. Click **Create New Application**, enter a name for the application, and click **Create**.
3. On the left menu, click **OAuth2**, add the redirect URI for your instance, and click **Save Changes**.
4. In the **Client Information** section, copy the **CLIENT ID** value to a safe place. In the **CLIENT SECRET** field, click **Reset secret**, accept the warning, and copy the secret value to a safe place.
5. On the left menu, click **Bot > Add bot**.
6. Optional: Change the default name of the bot.
7. Optional: Enable the **Privileged Gateway Intent** settings if you want to receive full message content from all the modules.
8. Click **Reset** to generate the bot token, accept the alert, and copy the bot token to a safe place as you can see the token only once.

{% hint style="info" %}
Every time you reset the token, the existing connections will stop working. You need to reauthenticate the connection with this new token.
{% endhint %}

You now have the OAuth credentials and can enter them in your instance.


---

# 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://developers.make.com/white-label-documentation/install-and-configure-apps/discord/steps-in-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.
