Connect Discord

Connect a Discord bot to a Buda agent over the native Gateway — no webhook URL or public endpoint required.

Bring your agent into a Discord server for community support, developer Q&A, or async teamwork. Buda connects over Discord's native Gateway (WebSocket) — provide a bot token and Buda holds a persistent connection in the background for real-time, streaming replies. No webhook URL or public endpoint needed.

A Discord message answered by a Buda agent

Connect the bot

Create an application

Open the Discord Developer Portal, click New Application, name it (e.g. Buda Assistant), accept the terms, and click Create.

Get the bot token and enable Message Content Intent

Go to the Bot tab. Under Token, click Reset Token and copy the value — you'll paste it into Buda.

Scroll to Privileged Gateway Intents and turn on Message Content Intent, then Save Changes. Without it, the bot can't read message text.

Invite the bot to your server

Go to OAuth2 → URL Generator. Under Scopes check bot, then under Bot Permissions check at least: Send Messages, Read Message History, Embed Links, Attach Files, Add Reactions, View Channels. Copy the generated URL, open it, select your server, and Authorize.

Configure the channel in Buda

Open Settings → Channels, click Add Channel, and select Discord. Paste the bot token, optionally set a label and target agent, then save. Buda connects to Discord over WebSocket immediately.

Start chatting

@mention the bot in any channel, or send it a direct message. Buda processes the message and replies with streaming text.

Troubleshooting

SymptomFix
Bot reads nothing / ignores messagesMessage Content Intent is off — enable it in the Bot tab and save
Bot can't postRe-check the OAuth2 scopes and bot permissions, then re-invite
Token compromisedReset the token in the Bot tab and update it in Buda's channel settings

On this page