Docs Integrations
Integrations
Slack
Install the Kumo.io app in your Slack workspace, then send alerts to the channels your team already watches.
What the Slack integration does
Kumo.io connects to Slack as a Slack app. Once an account owner or admin installs it, Kumo.io can:
- list the channels the Kumo.io app can see, so you pick a channel instead of typing an id;
- post fired alerts to the channels you choose, filtered by severity;
- answer a
/kumoslash command in Slack.
The bot token Slack issues is stored on the server only. Kumo.io never returns it to the browser or the API.
Slack delivery is part of alerts and notifications. On a self-hosted installation that needs the Enterprise (Licensed) plan.
Hosted workspaces: the Slack connection lives under Settings › SSO & Integrations, and that page isn't shown on hosted (kumo.io) workspaces yet. Until it is, the steps on this page apply to self-hosted installations only.
Before you start: register a Slack app (self-hosted)
A self-hosted installation talks to Slack through a Slack app that you register in your own Slack workspace.
- At api.slack.com, create a Slack app for your workspace.
- Under OAuth & Permissions, add the redirect URL
https://<your-kumo-address>/v1/integrations/slack/callback, where<your-kumo-address>is the public address you set inKUMO_EXTERNAL_URL. - Add these bot token scopes:
chat:write,channels:readandgroups:read. Kumo.io asks for exactly these three when it installs. - Optional: to use the slash command, create a
/kumocommand whose request URL ishttps://<your-kumo-address>/v1/integrations/slack/commands. - Copy the app's client ID, client secret and signing secret into the environment of every Kumo.io process that serves the API:
KUMO_EXTERNAL_URL=https://kumo.example.com
KUMO_SLACK_CLIENT_ID=<client id>
KUMO_SLACK_CLIENT_SECRET=<client secret>
KUMO_SLACK_SIGNING_SECRET=<signing secret>
The integration switches on only when both KUMO_SLACK_CLIENT_ID and KUMO_SLACK_CLIENT_SECRET are set. Without them the Slack card reads "Slack integration is not configured on this deployment." The signing secret is needed only for the slash command; without it, Kumo.io refuses slash-command requests rather than trusting unsigned ones.
There is no separate redirect setting. Kumo.io builds the redirect URL from KUMO_EXTERNAL_URL.
Connect your Slack workspace
You need the integration.manage permission, which the Account owner and Account admin roles include.
- Open Settings › SSO & Integrations.
- On the Slack card, select Connect Slack Workspace.
- Slack asks you to approve the Kumo.io app. Approve it.
- Slack sends you back to Kumo.io's Settings, and the card shows Connected with the name of your Slack workspace.
The approval link is single-use, belongs to the account that started it, and expires after 10 minutes. If you wait longer, start again.
To check which channels Kumo.io can post to, select List Channels. Private channels show a lock. If the list is empty, the message is "No channels visible to the bot yet." Invite the Kumo.io app to the channel in Slack, then list again.
Send alerts to a Slack channel
Slack is one of the delivery channels for alerts.
- Open Alerts.
- Under Notification Channels, select Add Channel.
- Give the channel a Name, and set Channel to Slack Channel.
- Pick the Slack channel from the list. The list shows the channels visible to the connected Kumo.io app. If Slack isn't connected, you can type a Slack channel id instead, but nothing is delivered until a workspace is connected.
- Optional: set Minimum Severity. Only alerts at or above that severity are delivered. Leave it empty to deliver every severity.
- Select Add channel.
Alert rules decide which changes fire. Read Alerts for how to write them.
People can also choose how their own notifications reach them, including a Slack column, under Settings › Notifications. Read Notifications.
The /kumo slash command
If you configured the slash command, anyone in your Slack workspace can run:
| Command | Reply |
|---|---|
/kumo or /kumo help | Confirms Kumo.io is connected and lists the commands |
/kumo status | Confirms this Slack workspace has a Kumo.io connection |
Replies are visible only to the person who ran the command. They never include data from your Kumo.io account, and when KUMO_EXTERNAL_URL is set they include a link to open Kumo.io.
When delivery fails
Kumo.io sorts Slack failures into two kinds:
- Permanent, not retried: the channel doesn't exist, the token was revoked, or no Slack workspace is connected.
- Temporary, retried: Slack rate limits, Slack server errors and network errors.
So a disconnected workspace never causes a storm of retries. Reconnect it, or point the notification channel somewhere else.
Disconnect Slack
- Open Settings › SSO & Integrations.
- On the Slack card, select Disconnect and confirm.
Alert and notification deliveries to Slack stop immediately, and Kumo.io forgets the bot token. To reconnect, approve the Kumo.io app in Slack again.
Connecting and disconnecting Slack are recorded in the audit log.