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
Create an app from scratch
Go to api.slack.com/apps, choose Create New App → From scratch, name it and pick your workspace.
Slack appsAdd bot scopes
Under OAuth & Permissions, add these Bot Token Scopes:
app_mentions:read chat:write channels:history groups:history im:history mpim:historyTurn on Socket Mode
Under Socket Mode, enable it and create an app-level token with the
connections:writescope. Copy it; it starts withxapp-.Subscribe to events
Under Event Subscriptions, turn events on and subscribe the bot to:
message.channels message.groups message.im message.mpim app_mentionInstall 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
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 thexapp-token into App-Level Token, then press Save.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.