Basics
Creating a Discord application
Get a bot token, set intents and connect it to Bottly.
Create and connect an application
In the Discord Developer Portal create an application and open its Bot section.
Generate or reset the bot token. Copy it directly to the token setting of your Bottly bot.
Generate an invite with
bot and applications.commands. Choose the permissions needed by your flows.Invite it to a test server and start the bot in Bottly.
Tokens, IDs and secrets are different
The Application ID identifies the application; it cannot log a bot in. The client secret is for OAuth and is not a bot token. Resetting a token invalidates the previous one: update Bottly and reconnect afterward.
Enable only the intents you need
Member events can require Server Members intent. Reading ordinary message text can require Message Content intent. Enable the corresponding switches in the portal when your workflow needs them; the runtime must request compatible intents too. Slash commands alone do not require reading every message.
Check permissions separately
Intents control which events/data arrive. Permissions control what the bot can do. For role assignment, grant Manage Roles and place the bot's role above the target role. See [Permissions](/docs/flow-permissions).