> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getunbound.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Slack

> Connect Slack to enable interactive approval workflows for tool policies

Connecting Slack to Unbound enables the **Require Slack Approval** policy action. When an agent runs a command that matches this policy, an interactive Slack DM is sent to the developer. They can approve or deny the action without leaving Slack, and the agent retries automatically once a decision is made.

## Prerequisites

* **Unbound account** with Admin role
* **Slack workspace** where you have permission to install apps

## Setup

1. Go to [Integrations](https://gateway.getunbound.ai/integrations) in the Unbound dashboard
2. Find **Slack** and click **Connect**
3. Complete the Slack OAuth flow to authorize the Unbound app for your workspace
4. Once authorized, the integration status shows as **Active**

## How the Approval Flow Works

When an agent triggers a **Require Slack Approval** policy:

1. The tool call is held in a pending state
2. A Slack DM is sent to the developer who owns the AI tool, matched by email address
3. The DM shows the matched policy, the command preview, and three action buttons:
   * **Allow Once** — approves this specific request (valid for 10 minutes)
   * **Allow 1 hour** — approves all matching commands from this tool for 60 minutes
   * **Deny** — rejects this specific request
4. The agent receives the decision and either proceeds or surfaces the denial to the user

<Note>
  If the developer's Unbound email doesn't match a Slack account, the DM falls back to an org admin. If no admin can be reached via Slack, the request is automatically denied to preserve safety.
</Note>

## Creating a Require Slack Approval Policy

1. Go to [Tool Policies](https://gateway.getunbound.ai/policies/tool-policies) and click **Create Policy**
2. Select **Terminal Commands** or **MCP Actions**
3. Configure the command family or MCP tool to monitor
4. Set **Action** to **Require Slack Approval**
5. Optionally scope to specific user groups or applications
6. Click **Create Policy**

The Slack integration must be active before policies with this action will fire. Policies created before Slack is connected will start working immediately once the integration is set up.

<CardGroup cols={2}>
  <Card title="Tool Policies" icon="shield" href="/policies/tool-policies">
    Configure the Require Slack Approval action
  </Card>

  <Card title="CLI Policy Management" icon="terminal" href="/cli/policies">
    Create Slack approval policies from the terminal
  </Card>
</CardGroup>
