Slack
Connect OpenCrabs to Slack workspaces.
Setup
- Go to api.slack.com/apps
- Create a new app
- Enable Socket Mode
- Add bot scopes:
chat:write,channels:history,groups:history,im:history,reactions:write - Install to workspace
- Copy the Bot Token and App-Level Token
- Add to
keys.toml:
[channels.slack]
bot_token = "xoxb-..."
app_token = "xapp-..."
- Enable in
config.toml:
[channels.slack]
enabled = true
Features
- Channels and DMs — Works in public/private channels and direct messages
- Action buttons — Provider picker, model picker, session switcher use Slack action buttons
- Thread support — Responds in threads when appropriate
- Slash commands — All built-in and custom commands work
- Reactions — Agent can add emoji reactions
Socket Mode
Slack uses Socket Mode (WebSocket) instead of HTTP webhooks — no public URL or ngrok needed. The connection is outbound from your machine.