> For the complete documentation index, see [llms.txt](https://docs.reflag.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.reflag.com/integrations/slack.md).

# Slack

With the integration for Slack, you can get notifications whenever a feature's access and/or stage changes and whenever an end-user submit feature feedback. You can also get a feature view report.

## Authenticate with Slack

Authentication happens at the environment level. Once you've authenticated, all environments, apps and features can be connected to Slack.

* Go to **Settings**
* Select **Slack** under Environment.

<figure><img src="/files/E3H6sDLXnFJO1bVpmEIR" alt=""><figcaption><p>Click "Connect to Slack" to authenticate</p></figcaption></figure>

## Choose default Slack channel

You can set a default Slack channel for an app. This means that all features within the app will all inherit the default channel unless you overwrite it.

* Go to Settings
* Select **Slack** under **Environment: Production**

Note: Slack notifications are only supported in the Production [environment](/product-handbook/concepts/environment.md).

<figure><img src="/files/QrO6GXv53PcRrwDfyavj" alt=""><figcaption><p>Choose default Slack channel for this app's production environment</p></figcaption></figure>

## Available Slack notifications

<table><thead><tr><th width="557">What</th><th>When</th></tr></thead><tbody><tr><td>Feature access or state changes</td><td>Real-time</td></tr><tr><td>Feature archive updates</td><td>Real-time</td></tr><tr><td>Feature feedback submissions</td><td>Real-time</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.reflag.com/integrations/slack.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
