Skip to content

Connect Slack

Connect your agent to Slack so it can respond in channels and direct messages.

  • A Wireclaw agent (create one if you haven’t)
  • A Slack workspace where you have permission to install apps
  1. Create a Slack app

    Go to api.slack.com/appsCreate New AppFrom scratch.

    Name it (e.g., “Wireclaw Agent”) and select your workspace.

  2. Configure permissions

    Go to OAuth & PermissionsScopesBot Token Scopes and add:

    • app_mentions:read
    • chat:write
    • channels:history
    • im:history
    • im:write
  3. Enable Socket Mode

    Go to Socket Mode → enable it.

    Generate an App-Level Token with the connections:write scope. Copy it — this is your app_token.

  4. Enable Events

    Go to Event Subscriptions → enable events.

    Subscribe to bot events:

    • app_mention
    • message.im
  5. Install to workspace

    Go to Install AppInstall to Workspace → authorize.

    Copy the Bot User OAuth Token (xoxb-...).

  6. Get the signing secret

    Go to Basic InformationApp Credentials → copy Signing Secret.

  7. Add credentials in Wireclaw

    Go to Dashboard → Your Agent → Channels → Add Slack.

    [channels.slack]
    bot_token = "xoxb-..."
    signing_secret = "abc123..."
    app_token = "xapp-..."

Mention your bot in a Slack channel (@Wireclaw Agent) or send it a direct message. The agent responds in-thread.

IssueSolution
Bot doesn’t respond to mentionsCheck app_mentions:read scope and app_mention event subscription
”not_authed” errorRegenerate the Bot Token and update in Wireclaw
Bot responds in wrong channelEnsure channels:history scope is granted for the target channel