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

# Slack

> Run investigations from Slack with @Lightrun AI SRE

Use **@Lightrun AI SRE** in Slack to investigate incidents without leaving your channels. Ask questions in natural language and get the same evidence-based analysis, root cause insights, and suggested actions you see in the web app—delivered directly in the channel.

## Overview

* **One workspace per organization** — Each organization connects one Slack workspace. Reconnecting replaces the existing connection.
* **Same capabilities as the web app** — Connected integrations, chat history, and model behavior are shared. Only the interface (Slack vs. browser) changes.
* **Scoped to mentions** — The app reads only messages where it is @-mentioned in a channel and replies in that channel.

## How to set up Slack

<Steps>
  <Step title="Sign in to AI SRE">
    Log in to the AI SRE web app with your account.
  </Step>

  <Step title="Open Connectors">
    In the sidebar, go to **Connectors** and select **Slack** to start the connection.
  </Step>

  <Step title="Authorize in Slack">
    Choose the Slack workspace to connect and approve the **@Lightrun AI SRE** app when prompted.
  </Step>

  <Step title="Confirm">
    After authorization, you’re redirected back to AI SRE. The workspace is connected and ready to use.
  </Step>
</Steps>

## Using Slack

<Steps>
  <Step title="Mention the app">
    In any channel where the app is installed, type **@Lightrun AI SRE** followed by your question or incident description. (Mentions work in channels only, not in threads.)
  </Step>

  <Step title="Wait for the response">
    The app acknowledges your message and runs the same investigation pipeline as the web app. Responses stream into the channel as markdown.
  </Step>

  <Step title="Use the findings">
    Review evidence, root cause analysis, and suggested next steps in the channel. Reply and @-mention again in the channel for follow-up questions; the app uses the channel history as context.
  </Step>
</Steps>

Responses include the same evidence chains, confidence levels, and actionable recommendations as in the web UI. You can continue the conversation in the channel for deeper dives or clarifications.

## Troubleshooting

### Mentions get no response

The app must be in the channel to respond. Invite **@Lightrun AI SRE** to the channel if needed.

### Connection or install errors

Sign in to the AI SRE web app before starting the Slack connection. If the install flow fails, try again after signing in and ensure pop-ups or redirects aren’t blocked.

### Wrong workspace connected

Each organization can have only one connected Slack workspace. To use a different workspace, disconnect the current one from **Connectors** → **Slack** in the AI SRE web app, then connect the desired workspace.

## Disconnecting Slack

To remove the Slack connection:

1. In the AI SRE web app, go to **Connectors** → **Slack**.
2. Choose to disconnect the workspace.
3. Confirm. The app will no longer respond in Slack until you reconnect.

## Next steps

<CardGroup cols={2}>
  <Card title="Overview" icon="comments" href="/connectors/collaboration" />

  <Card title="Working with AI SRE" icon="lightbulb" href="/working-with-ai-sre/overview" />
</CardGroup>
