Discord
Connect your KiloClaw agent to Discord by creating a bot in the Discord Developer Portal and linking it to your KiloClaw dashboard.
Prerequisites
Make sure you have a Discord server ready to add the bot to. If you don't have one, open Discord, scroll to the bottom of your server list, click +, choose Create My Own, then For me and my friends, and give it a name.
Create an Application and Bot
- Go to the Discord Developer Portal and log in
- Click New Application, give it a name, and click Create
Enable Privileged Intents
On the Bot page, scroll down to Privileged Gateway Intents and enable:
- Message Content Intent (required)
- Server Members Intent (recommended — needed for role allowlists and name matching)
- Presence Intent (optional)
Generate an Invite URL and Add the Bot to Your Server
- Click OAuth2 on the sidebar
- Scroll down to OAuth2 URL Generator and enable:
botapplications.commands
- A Bot Permissions section will appear below. Enable:
- View Channels
- Send Messages
- Read Message History
- Embed Links
- Attach Files
- Add Reactions (optional)
- Copy the generated URL at the bottom
- Paste it into your browser, select your server, and click Continue
- You should now see your bot in the Discord server
Copy Your Bot Token
- Go back to the Bot page on the left sidebar and click Reset Token
📝 Note Despite the name, this generates your first token — nothing is being "reset."
- Copy the token that appears and paste it into the Discord Bot Token field in your KiloClaw dashboard.
Enter the token in the Settings tab and click Save. You can remove or replace a configured token at any time.
Redeploy to Apply Changes
After saving your token, click Redeploy (the yellow button at the top of the KiloClaw dashboard) to apply the changes. The server will restart in about 30–45 seconds. Wait for the redeploy to complete before pairing.
Start Chatting with the Bot
- Right-click on the Bot in Discord and click Message
- DM the bot
/pair - You should get a response back with a pairing code
- Return to app.kilo.ai/claw and confirm the pairing code and approve
- You should now be able to chat with the bot from Discord
