Steadmesh

Connect Slack, Linear and Claude

Bring your team into Slack, give it a Linear workspace and connect a model. This guide starts with Claude Code and an Anthropic endpoint.

If you have tried the local setup, this is the next step towards giving the team useful work. Keep the same deployment workflow and replace the fake services with your Slack workspace, a dedicated Linear team and the Claude Code harness backed by an Anthropic model. You will add credentials and update a few variables.

What you need

ItemWho provides itUsed for
A Slack workspace where you can install appsSlack workspace adminHuman ↔ representative conversations
A Linear workspace and team, plus an API key with write accessLinear adminProjects and tasks created by agents
An Anthropic API keyYour Anthropic accountModel inference for the Claude Code harness
The Slack member IDs (U…) of at least two peopleEach person: Slack profile → ⋮ → Copy member IDChannel bindings

1. Create the Slack app

  1. Go to api.slack.com/apps, choose Create New App → From a manifest, select your workspace and paste slack-app-manifest.yaml. The manifest enables Socket Mode, the App Home messages tab, the bot scopes chat:write, im:history, im:read, im:write and users:read, and the message.im event.

  2. Under Basic Information → App-Level Tokens, create a token with the connections:write scope. This is your xapp-… token.

  3. Under Install App, install the app to the workspace and copy the Bot User OAuth Token (xoxb-…).

  4. Note the workspace's team ID (T…). It appears in the workspace URL, or in the auth.test response.

Socket Mode means Slack never has to reach your cluster: the platform opens an outbound websocket. One app installation serves every representative.

2. Prepare Linear

Create an API key under Settings → Security & access → Personal API keys (or a workspace key) with write access, and find the ID of the team agents should work in. Use a dedicated team to begin with: seats granted project.create can create projects there.

3. Provide the credentials

Credentials go into the foundation stage only. It stores them as Kubernetes Secrets in steadmesh-system, where only the platform service can read them. The organisation stage refers to them by name, for example k8s:slack-credentials, so they never appear in its plans or state.

export TF_VAR_slack_bot_token=xoxb-…
export TF_VAR_slack_app_token=xapp-…
export TF_VAR_linear_api_key=lin_api_…
export TF_VAR_model_api_keys='{anthropic="sk-ant-…"}'   # one per model endpoint, e.g. openai, selfhosted

The Kubernetes provider stores Secret values in the foundation stage's Terraform state, so protect that state. Alternatively, create the Secrets slack-credentials (keys bot_token, app_token), linear-credentials (api_key) and one <key>-credentials per model endpoint, such as anthropic-credentials (api_key), out of band, and leave the placeholder defaults. Vault is also supported: set secret_ref = "vault:<path>" and enable Vault in the chart values.

4. Configure the organisation

unset TF_VAR_slack_endpoint_ref TF_VAR_linear_endpoint_ref   # use the real services
export TF_VAR_harness=claude-code
export TF_VAR_model='{connection="anthropic",id="claude-sonnet-5-5"}'
export TF_VAR_slack_workspace_id=T0123ABCD
export TF_VAR_linear_team_id=<team id>
export TF_VAR_humans='{sean={slack_user_id="U0SEAN123"},alex={slack_user_id="U0ALEX456"}}'

harness = "claude-code" switches every seat to the Claude Code image, and model selects the model and the connection that serves it (declared from model_connections). Each seat is implicitly allowed model.infer on that connection, for that model only. To give seats different harnesses, set seat_harnesses, for example { engineer = { adapter = "codex", model = { connection = "openai", id = "gpt-5.5" } } }; see Harnesses and models.

5. Start the team and check its connections

make kind-up kind-load provider build
make -C examples apply

The readiness checks help catch connection problems before you send a task:

If anything is missing, the apply stops and names it, for example:

OperationalReady  False  ConnectionsAuthenticated  connection slack: unauthorized: invalid_auth

6. Talk to your representative

In Slack, open the app (Apps → Steadmesh) and send it a direct message. Your representative replies in the same DM. Start with a small, specific request: ask it to remember a working preference, have engineering investigate a question, or create a Linear project for a task you want to track. Include the outcome you want and ask it to report back with the result.

What happens between messages

Check the live setup

make live automates this guide. It needs the variables above plus user tokens for two test humans, so it can message the bot as them. See tests/live/README.md for the exact list. Use test accounts and a dedicated Linear team.