AI & Automation

Connect OpenClaw to Slack in 5 Minutes (04/01/26)

Use this guide to get a working OpenClaw ↔ Slack integration with Socket Mode, restricted channel access, pairing-based authorization, and a clean end-to-end test.

Outcome

By the end, your OpenClaw bot will be installed in Slack, limited to approved channel(s), paired to your Slack sender ID, and able to answer mentions in your target channel.

Prerequisites

Recommendation: Keep access restricted with an allowlist instead of granting all-channel access.

Required values you will collect

Step-by-step setup (recommended path)

  1. Start OpenClaw config wizard.
    Run openclaw configure.
  2. Select gateway location.
    Choose local when prompted.
  3. Open channels setup.
    In the menu, select channels then configure/link.
  4. Select platform.
    Pick Slack socket mode.
  5. Name your bot profile.
    Use a clear display name (example from video: OpenCore).
  6. Create Slack app from manifest.
    In Slack API dashboard: Create an AppFrom a manifest → select workspace.
  7. Paste the OpenClaw-provided manifest JSON.
    Copy the JSON block from terminal and paste into Slack’s manifest editor; click Next and Create.
  8. Install app and copy Bot token.
    In OAuth & Permissions, click Install to WorkspaceAllow, then copy Bot User OAuth token (xoxb-...).
  9. Paste Bot token into OpenClaw prompt.
  10. Generate App-Level token.
    In Slack Basic InformationApp-Level TokensGenerate Token and Scopes, add scope connections:write, then generate and copy xapp-... token.
  11. Paste App token into OpenClaw prompt.
  12. Configure channel access.
    When prompted, choose yes for channel policy, then choose allowlist, and enter channel(s) like #openclaw-channel.
  13. Finish channel setup.
    Select finished at bottom of channel list; choose no for DM policy in a basic first-time setup.
  14. Restart gateway.
    Run openclaw gateway restart and wait for startup logs to settle.
Checkpoint: At this stage, Slack should show OpenClaw under Apps, but sender pairing may still be required before replies work.

Pair your Slack sender identity

  1. Mention OpenClaw in Slack (for example: hi @openclaw).
  2. OpenClaw returns an authorization command containing a unique pairing code.
  3. Copy that full command and run it in terminal (starts with openclaw pairing approve ...).
  4. Confirm approval output for your Slack sender ID.

If the bot is not yet in the channel, @mention it and click Slack’s “Add them” prompt to invite the app into that channel.

Success checks

Troubleshooting

Sources

Related Guides