Docs

Manage

Slack

Get your workspace's alerts in a Slack channel, and approve machines and answer access requests from there.

Add Underpass to Slack and your workspace's alerts go to a channel you pick: machines joining, access requests and the security emails. The ones that need someone have buttons, so an owner or admin can deal with them without leaving Slack:

  • A machine is waiting for approval (with device approval on): Approve.
  • Someone asks for access: Allow for the time they asked for, or Deny.

Once someone answers, the buttons go away and the message says who answered, for everyone in the channel.

Add it

You need to be an owner or admin of the workspace.

  1. In the dashboard, open Settings → Integrations and press the Slack card.
  2. The window says what the app does and what it can reach. Under Alerts to send, pick one:
    • Everything: every alert, as it happens.
    • Only what needs an answer: access requests, machines waiting for approval and AI agents waiting for you.
    • Security alerts: changes to people, rules, settings and machines, without requests.
  3. Press Continue to Slack. Slack asks which Slack workspace and channel to post to. Pick them and press Allow.
  4. You're back on the Slack page in Settings, and a first message is in the channel.

You can change the channel and the alerts at any time.

Your channels

Once Slack is connected, its card on Settings → Integrations opens Settings → Integrations → Slack: the list of your channels, with what each covers and which alerts it gets. Add a channel adds another, in the same Slack workspace or a different one. It starts with the same alerts and machines as the channel you added it from (or your first one), so change what's different on its page.

Press a channel to open its page. On the left:

  • Send a test message checks it still works.
  • Change channel takes you to Slack to pick another one. Everything else about it stays as it is.
  • Disconnect stops the alerts to that channel, after you confirm. The app stays in your Slack workspace: remove it there too if you don't need it any more.
  • Notes, for the other owners and admins: why this channel, who to ask.

On the right are What this channel covers and Alerts sent here.

One channel per client

If you look after machines for several clients (or teams) in one workspace, give each a channel that only gets its own machines' alerts:

  1. Add a channel and pick the client's Slack workspace and channel.
  2. On its page, under What this channel covers, give it a name ("Acme Corp") and switch Machines to Only some.
  3. Add the client's machines: by tag (the easiest: machines you tag later count too), one by one, or by owner (everything a person's machines).
  4. Choose whether it also gets alerts not about one machine, like access rules changing or someone's role changing. Usually leave this off for a client's channel, and on for your own.
  5. Press Save.

An alert about a machine goes to every channel that covers it: an access request goes to the channels that cover the machines it asks for. Your own channel can stay on Every machine and get everything.

Choose the alerts

At the top of Alerts sent here, switch between Everything, Needs an answer and Security: the same choices as when you added Slack.

Under it, every alert has its own switch, in four groups:

GroupAlerts
RequestsSomeone asks for access, an AI agent waits for an answer
MachinesA machine joined, is about to be removed, or was restarted; a machine's sign-in runs out soon; a terminal or emergency access was opened; a locked-down server went quiet, or lockdown was turned off
People and settingsSomeone's role changed, someone was removed, an account is being deleted, access rules changed, a security setting was loosened, an API token was created
AI agentsA command was allowed, a computer was set up to allow requests, something was allowed on a computer, the dashboard can allow agent requests again

Turn all on or Turn all off in a group's corner changes the whole group. When your switches don't match any of the three choices, the top shows Custom.

Alerts you turn off here only stop going to Slack. Emails still follow each person's settings in Settings → Notifications. New kinds of alerts we add later are on until you turn them off.

A button acts as your Underpass account, with your role, as if you pressed it in the dashboard. So the first time you press one, Slack shows you (and only you) a link:

  1. Open it. You sign in to Underpass if you aren't already, with two-factor if you use it.
  2. Check the Slack account and Underpass account it names, and press Link. It only links when your Slack account uses the same email as your Underpass account, so nobody can link their Slack to your account by sending you their link.
  3. Go back to Slack and press the button again.

The link lasts 15 minutes. You link once per Slack workspace; it then works in every Underpass workspace you belong to.

Who may press what is the same as in the dashboard: owners, admins and network admins approve machines and answer access requests. Anyone else who presses a button is told they can't, and nothing happens.

In the logs

Everything a button does goes in your workspace's logs under the person who pressed it, as if they'd done it in the dashboard, with a second entry saying it came from Slack. Adding and disconnecting a channel, changing what it covers or which alerts it gets, its notes, and linking an account are logged too.

Things to know

  • Commands and files AI agents ask for aren't answered from Slack: they need your passkey or authenticator app, so the Slack message links to the dashboard instead.
  • A Slack account is linked to one Underpass account. Linking again (from another Underpass account) replaces it.
  • Leaving a workspace stops your buttons working there at once, linked or not.
  • Private channels work: Slack adds the app to the channel you pick.
  • Removing Underpass from Slack (in Slack's app settings) deletes everything Underpass keeps for that Slack workspace: its channels in every Underpass workspace, and the Slack accounts linked there.
  • Discord and Google Chat are added from Settings → Integrations too: they use webhooks and can run alongside Slack channels.