How to Set Up OpenClaw on Slack
OpenClaw FAQ
Create a Slack app with Socket Mode, add the tokens to OpenClaw config, and your AI assistant joins your workspace. Supports DMs and channels.
Setup Steps
- Create a new Slack app at api.slack.com
- Enable Socket Mode and create an App Token (
xapp-...) - Install the app to your workspace and copy the Bot Token (
xoxb-...) - Add both tokens to your OpenClaw config
- Restart the gateway
Features
- DM conversations
- Channel participation
- Thread replies
- Reactions and emoji support
- File sharing
Enterprise Use
Slack is ideal for team and enterprise OpenClaw deployments. Use channel routing to give different teams their own AI assistant with different configurations.
// Slack config (Socket Mode)
{
"channels": {
"slack": {
"appToken": "xapp-...",
"botToken": "xoxb-...",
"dmPolicy": "pairing"
}
}
}