Skip to content
All guides
15 minUpdated 15 November 2026

Connect your assistant to Slack

Slack needs two tokens: a bot token that lets the assistant post, and an app-level token for Socket Mode, which lets it receive messages without a public webhook.

You need

  • A running ClawNest assistant.
  • Permission to install apps in your Slack workspace.

Create the Slack app

  1. Create an app from scratch

    Go to api.slack.com/apps, choose Create New App → From scratch, name it and pick your workspace.

    Slack apps
  2. Add bot scopes

    Under OAuth & Permissions, add these Bot Token Scopes:

    app_mentions:read
    chat:write
    channels:history
    groups:history
    im:history
    mpim:history
  3. Turn on Socket Mode

    Under Socket Mode, enable it and create an app-level token with the connections:write scope. Copy it; it starts with xapp-.

  4. Subscribe to events

    Under Event Subscriptions, turn events on and subscribe the bot to:

    message.channels
    message.groups
    message.im
    message.mpim
    app_mention
  5. Install and copy the bot token

    Choose Install to Workspace and allow it. Back on OAuth & Permissions, copy the Bot User OAuth Token; it starts with xoxb-.

Connect it in ClawNest

  1. Paste both tokens

    In the dashboard, open your assistant, go to Channels and choose Set Up on the Slack card. Paste the xoxb- token into Bot Token and the xapp- token into App-Level Token, then press Save.

  2. Invite it and approve yourself

    Invite the bot to a channel with /invite @yourbot, or message it directly. If it answers with a pairing code, enter the code on the Slack card and press Approve.