Connect Discord
This guide walks you through connecting Discord to your Genie environment so your team can interact with the AI assistant directly from Discord channels and direct messages.
Prerequisites
A Genie account with a running server
A Discord server where you have Manage Server permission
Step 1: Open Discord Setup in Genie
Go to your Genie dashboard → Settings → Channels → Discord and expand Discord bot setup instructions.
You will see a 6-step setup summary and a field to paste your bot token.

Step 2: Create a Discord Application
Go to the Discord Developer Portal and click New Application.

Name the application (e.g. "Genie"), accept the Terms of Service, and click Create.

You will land on the General Information page for your new application.

Step 3: Add a Bot and Copy the Token
In the left sidebar, go to Bot.

Under the Token section, click Reset Token and confirm.

Copy the newly generated token. You will need this in a later step.

Step 4: Enable Privileged Gateway Intents
Scroll down to the Privileged Gateway Intents section on the same Bot page. Enable both:
Server Members Intent
Message Content Intent
Click Save Changes.

Step 5: Generate an Invite URL
In the left sidebar, go to OAuth2 → URL Generator.
Under Scopes, check
botandapplications.commands.

Under Bot Permissions, check the following:
View Channels
Send Messages
Embed Links
Attach Files
Read Message History
Add Reactions

Copy the Generated URL at the bottom of the page.
Step 6: Invite the Bot to Your Server
Open the generated URL in your browser. Select the server you want to add the bot to and click Continue.

Review the permissions and click Authorize.

You should see a success message confirming the bot has been added.

Step 7: Save Token in Genie
Go back to your Genie settings. Paste the bot token you copied earlier into the token field and click Save & Connect.
The status should change to Connected.

Step 8: Pair Your Discord Account
Open Discord and send a direct message to the Genie bot (e.g. "Hey!").
The bot will respond with a pairing code and your Discord user ID.

Go back to Genie settings. Under Pending Chat Requests, you will see the pairing request. Click Approve.

Step 9: Start Chatting
After approval, the bot confirms access in Discord. You can now interact with your AI assistant through direct messages or by @mentioning the bot in channels.

Tips
Mention the bot in any channel it has access to:
@Genie how do I set up a database?DM the bot for private interactions — only you see the responses
Each user who wants to chat must complete the pairing flow individually
Consider creating a dedicated
#genie-aichannel to keep bot conversations organizedThe bot uses your full server context — same files, tools, and configurations as the browser
All interactions consume credits from the Genie account that connected the bot
Last updated