Integrations
Zentri ships two integrations in its repository, under integrations/. Both talk to the coordinator’s REST API with an integration token, a token that belongs to the organization and carries one scope. An admin issues it with POST /v1/integration-tokens.
The same folder holds an opt-in terminal kit that pastes a clipboard image into a session. It needs no token. See Image paste and clipboard.
| Integration | What it does | Token scope | State |
|---|---|---|---|
| GitHub merge check | Fails a pull request whose files its session never claimed, that another session holds, or that breaks another rule | checks:read |
The Action ran in end-to-end tests against a fake GitHub API. No GitHub App exists yet. |
| Slack bot | Lets people link their Slack account, ask for work, answer agents’ questions, and approve decisions from Slack | slack:act-as-verified-user |
Tested only against a fake Slack. No real workspace has run it. |
Two more pages cover what people ask about but Zentri does not build:
- Tailscale. Zentri has no Tailscale-specific code. The page shows how a tailnet fits around the coordinator and what
ztstill requires. - Webhooks. Zentri sends no outbound webhooks. The page lists the inbound requests that do exist.
How integrations authenticate
Section titled “How integrations authenticate”An integration token starts with zt_i_. It is not a user token and not a session token. It has exactly one of three scopes: checks:read for the merge check, slack:act-as-verified-user for the Slack bot, and metrics:read for Prometheus when /metrics is not on loopback.
What the integration tokens can do:
- The merge check token can read a verdict. It writes nothing in Zentri.
- The Slack bot token acts for one linked Slack user at a time. The coordinator runs the same authorization check for that user as for the CLI.
- Neither token can call
/mcp. An agent’s session token cannot call the merge check, so an agent cannot probe its own gate.
Create each token once and store it in a file with mode 0600. The GitHub App and the Slack bot read it from a file. The GitHub Action reads it from a repository secret.
Related pages
Section titled “Related pages”- The HTTP API reference, for
POST /v1/integration-tokensand the routes each integration calls - Roles and skill levels
- Hardening