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

# Slack integration

> Connect Slack and restrict which channels an agent may use.

The Slack integration lets an agent send messages to approved channels.

## Connect Slack

<Steps>
  <Step title="Add an account">
    Open **Integrations**, choose **Slack**, provide a unique account name, and complete the Bot OAuth connection.
  </Step>

  <Step title="Select channels">
    Choose the public or private channels the bot may use. Do not approve channels unrelated to the workflow.
  </Step>

  <Step title="Add the tool">
    Make the connected **Send message** tool available only to agents that require it.
  </Step>

  <Step title="Test the message">
    Run a simulated call and verify the destination, content, failure behavior, and absence of sensitive data.
  </Step>
</Steps>

Disconnecting the account immediately stops agents from using its tools. Review agent dependencies before disconnecting or removing channel access.
