Set up credentials
Open the Discord Developer Portal
Go to discord.com/developers/applications and sign in.
Create an application
Click New Application, enter a name, and click Create. You land on the General Information page.
Copy your Application (Client) ID
On the General Information page, copy the Application ID. This is your client ID.
Create the bot and copy its token
Open the Bot page, click Reset Token, then copy the token immediately. The token is shown only once, so store it right away.
Enable the intents you need
On the Bot page, under Privileged Gateway Intents, enable the intents your use case requires (for example Message Content Intent to read message text), then click Save Changes.
Invite the bot to your server
Go to OAuth2 > URL Generator, select the
bot scope (and applications.commands for slash commands), choose the bot permissions you need such as Read Messages and Send Messages, then open the generated URL, pick your server, and click Authorize. You need the Manage Server permission on that server.Intents must be enabled in the Developer Portal for the bot to receive the matching events. Bots in 100 or more servers require Discord verification to use privileged intents.
Connect to Adapt
Add your credentials
Enter the values you gathered above, then click Add connection:
You can rename the connection and choose whether it is shared with your
organization or kept personal to you.
| Secret Name | Value |
|---|---|
DISCORD_TOKEN | Your bot token |
DISCORD_CLIENT_ID | Your application’s client ID (optional) |
Security
- Credentials are encrypted at rest with AES-256
- The bot can only access the servers it has been invited to and the channels its permissions allow
- If your bot token is exposed, reset it immediately in the Developer Portal to invalidate the old one
- Never share or commit your bot token