> For the complete documentation index, see [llms.txt](https://run-ai-docs.nvidia.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://run-ai-docs.nvidia.com/api/api-guides/configuring-slack-notifications.md).

# Configuring Slack Notifications

This section demonstrates how to install the Slack App in your Slack workspace and receive notifications to your Slack channels and direct messages.

## Prerequisites <a href="#prerequisites" id="prerequisites"></a>

* Make sure you have sufficient permissions for your Slack workspace to install the Slack App.
* Make sure you have an NVIDIA Run:ai API token. See [How to authenticate to the API](/api/getting-started/how-to-authenticate-to-the-api.md) for more details.

## Install a New Slack App <a href="#install-a-new-slack-app" id="install-a-new-slack-app"></a>

1. Visit <https://api.slack.com/apps> and generate an [App Configuration token](https://api.slack.com/authentication/config-tokens)
2. Copy the access token (should start with `xoxe.xoxp)`
3. Send a POST request using the Create Slack app API and add the access token:

```bash
{
  "accessToken": "THE_GENERATED_ACCESS_TOKEN_FROM_PREVIOUS_STEP"
}
```

4. The request creates your Slack App and returns the newly created Slack App’s URL. For example:

```bash
{
  "slackAppUrl": "https://api.slack.com/apps/A089PHD5S0Q"
}
```

5. Open the URL to view and manage your Slack App configuration.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://run-ai-docs.nvidia.com/api/api-guides/configuring-slack-notifications.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
