Skip to main content
ⓘINFO
Setup wizard → Step 9 (Slack; Step 5 — Chat surface on the VM path). The wizard asks for your approval/alert channels and templates the tokens into setup-secret.sh (Kubernetes paths) or .env (the VM path); create the Slack app and capture those tokens here first.
The Sariva platform uses Slack for two things:
  1. Conversational interface — your team @-mentions the bot or DMs it to ask questions and to run growth operations (add stage, add env, add cluster).
  2. Approval gate — every reversible action and every infrastructure PR is approved by a human in #kafka-approvals before the agent executes.
Without Slack, the Deployment Agent runs in read-only mode only. Which channels to create and how Sariva keeps context in a DM versus a thread: Channels and conversations.

What you need first

  • A Slack workspace where you can install an app (admin access). No workspace yet? Create one first.
The fastest path (~5 minutes instead of ~30) is to create the app from the manifest below.
  1. Go to api.slack.com/apps → Create New App → From a manifest.
  2. Pick your workspace.
  3. Open the JSON tab and paste this manifest exactly as-is, then Next → Create:
ⓘINFO
Use the JSON tab — not YAML. Slack’s YAML tab currently rejects valid manifests (it errors even on Slack’s own example), so JSON is the reliable path. The optional _metadata block and an empty slash_commands list (both in older copies of this manifest) also trip the importer, so they’re omitted here — add commands slash commands later when you ship them.
  1. Install to Workspace: left sidebar → Install App → Install to Workspace → review the permissions screen → Allow. (The same button also lives on OAuth & Permissions.) Once installed, the Bot User OAuth Token appears on the OAuth & Permissions page.
  2. Capture the three secrets — that page has the exact clicks for the bot token, the app-level token (connections:write), and the signing secret.
⚠WARNING
Two things the manifest cannot set — do them by hand after import (both covered below): generate an app-level token (connections:write) for Socket Mode, and turn on the App Home → Messages Tab so users can DM the bot.
The display name and color above are cosmetic — change them freely. The scopes, events, and Socket Mode settings are what the Sariva platform relies on; keep those exactly as shown. The manual flow below is the fallback for admins whose policy requires hand configuration.

Manual app setup

  1. Event Subscriptions → Enable Events → subscribe to bot events app_mention, message.im → Save.
  2. Interactivity & Shortcuts → Interactivity On → Save.
  3. Socket Mode → On (generates the app-level token if you haven’t).
  4. Install to Workspace → approve. The xoxb- token appears after install.
ⓘINFO
With Socket Mode on, Slack hides the Request URL field — events route over the WebSocket. No URL to configure.

Turn on the App Home Messages Tab

⚠WARNING
The manifest cannot express this UI-only toggle. Without it, DMs to the bot show “Sending messages to this app has been turned off” and every DM-driven flow blocks before reaching the pod.
Features → App Home → Show Tabs → Messages Tab → tick Allow users to send Slash commands and messages from the messages tab → Save Changes. Next: Scopes & secrets.