Connect Discord to OpenClaw
Connect your OpenClaw agent to Discord and let it respond in your server channels. It works as a regular Discord bot that you invite to any server you manage.
> Before you start
Make sure you have:
- ✓ A running OpenClaw agent. Your agent must be deployed and in a "Running" state on Clawly (or self-hosted).
- ✓ A Discord account. You'll need permissions to add bots to a server.
- ✓ A Discord bot token. You'll create a bot application on the Discord Developer Portal.
> Step-by-step guide
1. Create a Discord application
Go to the Discord Developer Portal, click New Application, and give it a name. Then go to the Bot tab and click Reset Token to generate a bot token. Copy it.
2. Enable required intents
On the Bot settings page, scroll down to Privileged Gateway Intents and enable Message Content Intent. This allows your bot to read message content in channels.
3. Invite the bot to your server
Go to the OAuth2 tab, select bot under scopes, choose the permissions your bot needs (at minimum: Send Messages, Read Message History), and use the generated URL to invite the bot to your server.
4. Connect on Clawly
On your Clawly dashboard, open the OpenClaw GUI for your agent. Go to Settings → Channels, enable Discord, and paste your bot token. Restart the agent.
5. Start chatting
Your bot will appear online in your Discord server. Mention it or send it a DM to start a conversation with your OpenClaw agent.
Don't have an agent yet?
Clawly deploys and manages your OpenClaw agent for you. Pick a plan, connect your channels, and your agent is live in seconds.
Deploy Your Agent