Connect Slack
Connect your agent to Slack so it can respond in channels and direct messages.
Prerequisites
Section titled “Prerequisites”- A Wireclaw agent (create one if you haven’t)
- A Slack workspace where you have permission to install apps
-
Create a Slack app
Go to api.slack.com/apps → Create New App → From scratch.
Name it (e.g., “Wireclaw Agent”) and select your workspace.
-
Configure permissions
Go to OAuth & Permissions → Scopes → Bot Token Scopes and add:
app_mentions:readchat:writechannels:historyim:historyim:write
-
Enable Socket Mode
Go to Socket Mode → enable it.
Generate an App-Level Token with the
connections:writescope. Copy it — this is yourapp_token. -
Enable Events
Go to Event Subscriptions → enable events.
Subscribe to bot events:
app_mentionmessage.im
-
Install to workspace
Go to Install App → Install to Workspace → authorize.
Copy the Bot User OAuth Token (
xoxb-...). -
Get the signing secret
Go to Basic Information → App Credentials → copy Signing Secret.
-
Add credentials in Wireclaw
Go to Dashboard → Your Agent → Channels → Add Slack.
[channels.slack]bot_token = "xoxb-..."signing_secret = "abc123..."app_token = "xapp-..."
Test it
Section titled “Test it”Mention your bot in a Slack channel (@Wireclaw Agent) or send it a direct message. The agent responds in-thread.
Troubleshooting
Section titled “Troubleshooting”| Issue | Solution |
|---|---|
| Bot doesn’t respond to mentions | Check app_mentions:read scope and app_mention event subscription |
| ”not_authed” error | Regenerate the Bot Token and update in Wireclaw |
| Bot responds in wrong channel | Ensure channels:history scope is granted for the target channel |
Next steps
Section titled “Next steps”- Connect Telegram — add another channel
- Connect Discord — add Discord
- Agent Config reference — all configuration options