---
title: "Slack"
description: ""
url: "https://docs.itrsgroup.com/docs/itrs-analytics/app/notifications/3.13.0/user-guide/integrations/slack/index.html"
---
The Slack notifier is configured with an API token and a channel ID. It can post individual messages and also create Slack threads.

You can find **Slack Channels** by clicking **Notifications** > **Targets**.

- To see available Slack targets, click ![Expand icon](https://docscdn.itrsgroup.com/itrs-analytics-app-notifications/images/notifications-expand_icon-2-0-0.png "icon").
- To create a new Slack target, click ![Add trigger icon](https://docscdn.itrsgroup.com/itrs-analytics-app-notifications/images/notifications-add_trigger_icon-2-0-0.png "icon") and then provide your settings. 

  
**Note**


You can share targets across your configured notifications. 



![Slack settings](https://docscdn.itrsgroup.com/itrs-analytics-app-notifications/images/slack_target_settings-2-0-0.png)

## Access token

To create a Slack app and generate an API token, refer to the official [Slack documentation](https://docs.slack.dev/app-management/quickstart-app-settings/) for more information.

Here’s a summary of the steps you can follow:

#### Create a Slack app

1. Go to [Slack Apps](https://api.slack.com/apps) and click **Create an App**.
2. Select **From scratch**.
3. Enter a name for your app (for example, "ITRS Notifications").
4. Choose the workspace where you want to install the app.
5. Click **Create App**.

#### Configure OAuth permissions

1. Navigate to **OAuth & Permissions**.
2. Scroll down to the **Scopes** section.
3. Under **Bot Token Scopes > Add an OAuth Scope**, add the following permissions:
    - `chat:write` – Allows the app to post messages to channels.
    - `channels:read` – Allows the app to view basic channel information.
   
#### Install the app to your workspace

1. Go back to the **Basic Information** section in your app’s management page.
2. Click **Install to Workspace** to install your app.
3. Review the permissions and click **Allow**.

After installing the app, return to the **OAuth & Permissions** page to view your access token listed under **OAuth Tokens**.

Since your app isn’t yet a member of any channels, choose a channel where you’d like to test it and invite the app using the following slash command:

```
/invite @app-name
```

Once added, Slack will post a confirmation message in the channel indicating that your app has been successfully invited.

## Channel ID

This can be set to the name of the channel. However, it is recommended to use a unique channel identifier to avoid issues should the channel be renamed.

The channel ID can be found at the bottom of the channel's **About** page.

![Slack channel](https://docscdn.itrsgroup.com/itrs-analytics-app-notifications/images/slack_channel_id.png)

## Reply in Slack thread

When set to `true`, the Notifier will create a thread per group (if groups are set) or per entity (if groups are not set). Otherwise, each notification is posted as a separate message on the supplied channel.


