Slack bot quickstart
Six steps from Slack app to a working OpenClaw bot in your workspace
Six steps from Slack app to a working OpenClaw bot in your workspace
This is the fast path for US and global workplaces using Slack. Channel policies, streaming replies, and advanced Bolt options are in the full Slack channel guide. Confirm exact config keys in official docs.
Time: about 15 minutes if OpenClaw is already installed. Deploying in the US? See United States deployment guide.
OpenClaw) and pick your workspace.chat:write — send messagesapp_mentions:read — respond to @mentionsim:history, im:read, im:write — direct messagesAdd channel scopes later if the bot must read public channels—see the full Slack guide.
Socket Mode avoids exposing a public HTTP URL—good for home labs and many VPS setups.
connections:write.xapp-).xoxb-...).During openclaw onboard, enable Slack and paste bot token and app token when prompted—or add under channels.slack in configuration (see Slack reference for JSON shape).
Keep DM policy on pairing until you have reviewed security basics.
openclaw gateway start
openclaw doctor
doctor should report Slack healthy. For 24/7 US hosting, use a US-region VPS or managed host with a US region.
hello. With pairing enabled, approve: openclaw pairing list slack then openclaw pairing approve slack <code> (pairing guide).Recent releases improve Slack streaming replies—see releases after upgrades.
| Symptom | Likely cause | Fix |
|---|---|---|
| Bot never replies in DM | Messages Tab off / missing scopes | Enable App Home; add im:* scopes; reinstall |
| not_authed / invalid_auth | Wrong or revoked token | Reinstall app; update xoxb token in config |
| Socket Mode disconnects | Bad xapp token or Gateway down | Regenerate app token; restart Gateway |
| Only pairing messages | User not approved | pairing approve |
More detail: Slack guide · troubleshooting