Discord Setup#
Deploy your Humuter agent as a Discord bot. Users in your server can interact with it via messages and commands.
1. Create a Discord Application#
- Go to the Discord Developer Portal and click New Application
- Give it a name and save
- Go to the Bot section and click Add Bot
- Copy the bot token
2. Configure Bot Permissions#
In the OAuth2 → URL Generator, select these scopes and permissions:
- Scopes:
bot - Permissions:
Send Messages,Read Message History
Use the generated URL to invite the bot to your server.
3. Connect via API#
bash
curl -X POST https://humuter.com/api/v1/webhooks/discord \
-H "Authorization: Bearer hmt_your_key" \
-H "Content-Type: application/json" \
-d '{"agent_id": "your-agent-id", "token": "your-discord-bot-token"}'You can also connect Discord from the dashboard under your agent's Channels tab.
4. Test It#
Mention your bot in any channel it has access to, or send it a DM. It should respond using your agent's configuration. Check the training guide to customize responses.