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

# Incident channels

> Bring Struct Agent into incident conversations with the right access and privacy.

Configure how Struct Agent joins incident conversations and what channel context it can read. Preserve the team’s selected channel scope and privacy settings when setting up or verifying access.

## Connect Slack

Follow [Slack setup](https://docs.struct.ai/integrations/slack.md). Check the bot's access to the channels your team selected. The CLI can connect Slack and join public channels, but does not configure incident auto-join or private-investigation patterns.

## Configure channel policies

Ask the person to apply the following choices in Struct's Slack settings, then verify the selected pattern with an authorized test channel. Do not create a real incident solely to test setup.

On the **Triage** page, open **Slack settings** and turn on **Auto-join incident channels**. Add one name pattern per line, using `*` as a wildcard. The default is `inc-*`. Add others such as `sev*` if your tool names channels differently.

Struct joins any new public channel whose name matches, and any channel that is renamed to a matching name. Shared channels from other workspaces are skipped.

## What Struct does in the channel

1. **Reads what is already there.** Struct catches up on the messages posted so far and opens any links to alerts, dashboards, logs, or traces.
2. **States the problem.** Once it can say in one sentence what is broken, it posts a short summary so your team can correct it early if it misread.
3. **Investigates in a thread.** Under that post, Struct works to measure the impact, find a way to mitigate, such as rolling back a deploy or turning off a feature flag, and find the root cause.

If the channel does not say enough yet, Struct posts that it is watching and waits. It starts as soon as someone shares an error, a link, or a description of the problem.

## After it starts

Struct stays quiet unless someone mentions it. Mention Struct in the investigation thread to follow up, or anywhere in the channel to ask a new question or start another investigation.

Messages from your incident tool's own bot are read as context. They do not stop Struct from starting its own investigation.

If the incident turns out not to be real, say so in the channel and Struct stands down.

## Private investigations

Some incidents, such as security issues, need to stay out of shared tools. Turn on **Private investigations** in the same settings and add name patterns, such as `sec-*`. When you invite Struct to a matching private channel, it investigates the same way, but the investigation and any issues it opens stay in Slack and never appear in the web app.

Private investigations match nothing until you add a pattern. Use different patterns than auto-join.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.