Discord messaging channel
Use this guide to deploy an agent to Discord after validating Agent chat.
Before you start
Make sure you have:
- A Discord application and bot
- A Discord server (guild) where you can install the bot
- A live agent with an AI model connected
- Access to Agents -> your agent -> Deployment
Configure Discord in Budibase
- Open your agent in Agents
- Go to Deployment
- In Messaging channels, click Manage for Discord
- Enter:
- Application ID
- Public key
- Bot token
- Guild ID
- Idle timeout (minutes) (optional)
- Click Enable channel
- Copy:
- Discord invite URL
- Webhook URL
Configure your Discord app
- Use the generated Discord invite URL to add the bot to your server
- In the Discord Developer Portal, set the interactions endpoint to the Budibase Webhook URL
- Save the interactions endpoint configuration
When channel enable runs successfully, Budibase syncs /ask and /new commands.
Enable and verify
- In Budibase Deployment, confirm Discord is Enabled
- In Discord, run:
/askwith a message/newto start a new conversation
- Confirm responses appear in Discord
Troubleshooting
Not connectedin Budibase: confirm all four required values are saved.- Command sync fails: re-check Application ID, Bot token, and Guild ID.
- Interactions fail: verify the Discord interactions endpoint exactly matches the Budibase Webhook URL.
- Signature validation errors: confirm Public key matches the key in your Discord application.
- Webhook route errors: use the exact Budibase-generated endpoint URL from Deployment.
Related guides
Updated about 3 hours ago