Step-by-step guide to integrating your Quickchat AI Agent with Discord. Create a bot, configure permissions, and go live on your server.
In this guide, we’ll go through how to integrate your AI Agent into your Discord server. Here’s an overview of what we’ll cover:
- Create a Discord server
- Create a Discord application
- Configure Your Discord Application
- Add the Bot to Your Discord Server
- Integrate your Discord bot with Quickchat AI
Watch the Video
Section titled “Watch the Video”Creating and configuring a Discord Server
Section titled “Creating and configuring a Discord Server”Create a Discord Server
Section titled “Create a Discord Server”To initiate the integration process, you’ll need a Discord Server. If you don’t have a Discord account, visit discord.com and create one. Once logged in, follow this guide to create your Discord server.
Create a Discord Application
Section titled “Create a Discord Application”Go to discord.com/developers/applications while logged in to your Discord account and create a new application.
Configure Your Discord Application
Section titled “Configure Your Discord Application”Before adding your bot to the server, enable the Message Content Intent for your application. This allows your bot to read messages sent by users on your server.

Add the Bot to Your Discord Server
Section titled “Add the Bot to Your Discord Server”Now you need to add your bot to your server. The way to do it is to construct a Discord URL and paste it into your browser:
https://discord.com/api/oauth2/authorize?client_id=<YOUR CLIENT ID>&permissions=309237712896&scope=botWhere does the permissions number come from?
The permissions number (309237712896) comes from requesting the following permissions:
Send MessagesCreate Public ThreadsSend Messages in ThreadsRead Message History
Those are the minimal set of permissions required for your bot to operate correctly. You can see it for yourself by going to discord.com/developers/applications, selecting your application, clicking on Bot on the left and scrolling down:

Where to find YOUR CLIENT ID?
The easiest way will be to look at the address bar in your browser and copy the long number which is part of the address:
https://discord.com/developers/applications/<YOUR CLIENT ID>/bot
In this case the client id is 1234567890123456789 which means that the full URL you need to go to to add the server will be:
https://discord.com/api/oauth2/authorize?client_id=1234567890123456789&permissions=309237712896&scope=botIntegrate Your Discord Bot with Quickchat AI
Section titled “Integrate Your Discord Bot with Quickchat AI”To connect your bot with Quickchat AI, retrieve your Discord Bot Token from the Developer Portal.
- Go to Bot Settings → Reset Token → Copy Token

- In the Quickchat AI Dashboard, head to External Applications, open the Discord integration, turn on Enable Discord and paste your token.

🎉 Your AI Bot is Live!
Section titled “🎉 Your AI Bot is Live!”Head back to Discord - your bot should be online and ready to chat! Just @mention it to start a conversation. 🤖💬

By default, when @mentioned the bot replies in the same channel. You can change this with the Reply mode setting in the integration: Reply in channel (the default) or Reply in threads. With Reply in threads, the bot answers inside a thread and users can continue the conversation there without mentioning it again.

Troubleshooting
Section titled “Troubleshooting”If Quickchat AI reports an error on the Discord integration page, it links straight here to the matching section below.
Message Content Intent
Section titled “Message Content Intent”PrivilegedIntentsRequired: your bot connected, but its Message Content Intent is off, so it cannot read messages. In the Developer Portal, open your application, go to Bot → Privileged Gateway Intents, turn on Message Content Intent, and save. The bot restarts automatically, so allow about a minute.

Invalid bot token
Section titled “Invalid bot token”InvalidToken: the token Quickchat AI has is wrong or was regenerated. A bot token is shown only once, and resetting it invalidates the old one. In the Developer Portal, open your application, go to Bot, click Reset Token, copy the new token, then click Reconnect in Quickchat AI and paste it.

Require OAuth2 Code Grant
Section titled “Require OAuth2 Code Grant”If you see “Integration requires code grant” when adding the bot, your application has Require OAuth2 Code Grant enabled, which blocks the simple bot invite flow. In the Developer Portal, open your application, go to Bot, turn Require OAuth2 Code Grant off, save, and open the invite URL again.
The authorization page shows a cake or “baked” message
Section titled “The authorization page shows a cake or “baked” message”That quirky screen is Discord’s success page: the bot was added. To confirm, open your server’s Server Settings → Integrations → Bots and Apps and look for your bot in the list.
Bot not responding after setup
Section titled “Bot not responding after setup”The bot restarts whenever you change its token or settings, so give it up to a minute after saving. If it still does not come online or reply:
- In the Quickchat AI dashboard, open External Apps → Discord and check the connection status. An invalid token or a missing intent is reported there, with a link to the exact fix.
- Confirm Message Content Intent is on (see above) and the token is current (use Reset Token if in doubt).
- @mention the bot in a channel it can access, and verify its role and channel permissions include Send Messages, Create Public Threads, Send Messages in Threads, and Read Message History.
- Choose whether it answers in the channel or in a thread with the Reply mode setting under External Apps → Discord.
Join our Discord server to learn more about how to make the most of Quickchat AI 👉 discord.gg/KqkHwvPRNH