Channels
Slack Setup
Add your AI agent to a Slack workspace for team-based conversations.
Slack Setup
Add your AI agent to Slack workspaces for team-based conversations.
Setup steps
1. Create a Slack app
- Go to api.slack.com/apps
- Click Create New App → From scratch
- Give it a name and select your workspace
2. Configure bot permissions
- Go to OAuth & Permissions in the sidebar
- Under Bot Token Scopes, add:
chat:write— send messagesapp_mentions:read— respond when mentionedchannels:history— read channel messages (optional)im:history— read direct messagesim:write— send direct messages
3. Install to workspace
- Go to Install App in the sidebar
- Click Install to Workspace and authorize the permissions
- Copy the Bot User OAuth Token (starts with
xoxb-)
4. Enable events
Deployments stay private by default. If you selected Slack on DigitalOcean or Google Cloud, the deployment opens public 443 for webhook routes only. Other providers need a separate public HTTPS entrypoint in front of the deployment.
- Go to Event Subscriptions and toggle Enable Events on
- Set the Request URL to:
https://YOUR_WEBHOOK_DOMAIN/webhook/slack/YOUR_DEPLOY_ID - Under Subscribe to bot events, add:
message.im— direct messagesapp_mention— when someone mentions your bot
5. Connect in the wizard
- On the wizard's messaging screen, select Slack
- Paste your Bot User OAuth Token
- After deploy, finish the channel checks from the management dashboard
Using the bot
- Direct messages — just message the bot directly
- Channels — invite the bot to a channel and mention it with
@botname - Threads — the bot can reply in threads for organized conversations
Tips
- In App Home settings, enable the Messages Tab so users can DM your bot
- Add a bot description and profile picture under Basic Information
- Use Slash Commands if you want to add custom
/commands