01 Open the Developer Portal
Go to the Discord Developer Portal:
discord.com/developers/applications
Log in with your Discord account if you are not already signed in.
02 Create a New Application
- Click the "New Application" button in the top-right corner.
- Give it a name -- for example, "CircuitBot" or your team name. This name will appear in your server's member list.
- Accept the Developer Terms of Service and click "Create".
You will land on the application's General Information page. You can optionally add a description and app icon here.
03 Bot Settings
- In the left sidebar, click "Bot".
- Click "Add Bot" and confirm.
- Under the bot's username, click "Reset Token" to generate a new token, then click "Copy".
You will paste this token into the CircuitBot setup wizard (Step 2 of the Setup Guide).
04 Privileged Gateway Intents
Still on the Bot page, scroll down to the "Privileged Gateway Intents" section. Enable the following:
Message Content Intent
RequiredCircuitBot needs to read the content of messages where it is @mentioned. Without this intent, the bot receives empty message bodies and cannot process tasks.
Server Members Intent
OptionalAllows CircuitBot to resolve user display names in logs and the dashboard. The bot works without this, but you will see user IDs instead of names.
Click "Save Changes" at the bottom of the page.
05 Generate the Invite URL
- In the left sidebar, click "OAuth2".
- Under "OAuth2 URL Generator", select the scope:
bot. - In the "Bot Permissions" section that appears, check the following permissions:
- Scroll down and copy the "Generated URL".
06 Invite the Bot to Your Server
- Open the generated URL in your web browser.
- Discord shows an authorization page. Select the server you want to add the bot to from the dropdown.
- Review the requested permissions and click "Authorize".
- Complete the CAPTCHA if prompted.
07 Verify the Bot
After authorization, the bot appears in your server's member list. It will show as offline -- this is expected. The bot only comes online when the CircuitBot desktop app is running and connected.
You are all set. Head to the Setup Guide to connect this bot token to CircuitBot and start dispatching tasks.