Connect your workspace
1
Install the app
An organization admin goes to Settings, Notifications, scrolls to Slack and clicks
Add to Slack. Slack asks you to approve the app for your workspace. If you run your own
Slack app instead, click Add manually and enter its details.
2
Choose the default channels
Set the Critical Channel, Warning Channel and Info Channel for alerts by severity.
The optional Remediation Channel receives outcomes of fix requests that did not start from a
channel. When it is blank, those go to the Info channel.
3
Invite the bot to private channels
A public channel needs nothing. For a private channel, run
/invite @SRE Agent in it first.Route a service to its own channel
Under Per-Service Alert Channels, type a Service, a Slack channel such as#checkout-alerts, and optionally Mention on call (optional) to mention whoever is on call for a schedule in each new thread. Click Save route. Alerts for that service open there instead of the severity channel. A route applies to alerts that open a new thread, so an alert that already has a thread keeps it. The service is read from the alert’s service, job, app or namespace label, and an alert with none of them uses the severity channels.
Link your Slack account
Commands that change things need to know which SRE Agent account is acting. Most people are linked automatically the first time they run a command, using the email address on their Slack profile. If your Slack email differs from your SRE Agent email:- Run
/sre-link <your email>. SRE Agent emails that address a confirmation link. - An organization admin can also match every member by email at once with Admin, Users, Sync Slack IDs.
Slash commands
Your role in the organization decides which commands work. Viewers can read and members can act. If your role is too low, the command tells you which role it needs.
You can also mention the bot in a channel, or message it directly, to ask about your organization’s data. Those questions need a linked account.
Buttons and reactions
Acknowledge, resolve, investigate and the reactions need a linked account with the same role the web page needs. A reaction on any other message does nothing.
What happens in the thread
A resolved alert gets an “Alert Resolved” reply, and a quiet re-fire adds one reply that is edited in place (see Triage alerts). When a board card raised for an alert changes column, one line says so in the thread, and replies in the thread become comments on that card. To change a fix request, mention the bot under its outcome with what you want changed. Organization admins confirm with a button, and the open pull request is superseded. Nothing is merged automatically.Related
- Run and read an investigation: what an investigation posts to the thread.
- Track work on the ops board: what a card from Slack becomes.
- Request a fix as a pull request: how
/sre-fixworks. - Set up on-call: mention the person on call in a thread.

