Connect
From the console → Integrations, click Connect on Slack. Or, from any boxd CLI:What’s authorized
The one consent screen requests two sets of scopes:
Slack tokens don’t expire, so there’s nothing to refresh. They’re stored server-side and only injected into your own personal/private machines.
Use Slack from a machine
Three environment variables are exported into every login shell (and the coding agents’ environment):
Call Slack’s Web API with the token that fits — bot for posting, user for search:
boxd manage integrations inside the machine to confirm it’s wired in and see this same hint.
Slack MCP server
Slack also publishes a Model Context Protocol server (slack-server, at https://mcp.slack.com/mcp) that a coding agent can call directly. Its bearer is your user token (that’s what powers search), so the MCP needs the user grant to work. It’s opt-in per agent: