> For the complete documentation index, see [llms.txt](https://docs.enginsight.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.enginsight.com/docs/knowledge-base/english/alerting/how-do-i-configure-alert-notifications-in-slack-in-enginsight.md).

# How do I configure alert notifications in Slack in Enginsight?

In Enginsight, you can also receive alert notifications in third-party applications such as Slack. To use this feature, you also need to make changes to the Enginsight configuration file, among other things.

In the following article, we will show you which steps are required.

{% stepper %}
{% step %}

### Create an app in Slack

To connect Enginsight with Slack, you need to create an app in Slack. When you create this app, you will receive a **Client ID** and a **Client Secret**, which you need for the configuration changes in Enginsight. For more information on how to create a Slack app, see the [official vendor documentation](https://docs.slack.dev/app-management/quickstart-app-settings).

{% hint style="warning" %}
**Please note**: Enginsight assumes no liability for the content and topicality of third-party documentation.
{% endhint %}
{% endstep %}

{% step %}

### Create a webhook in Slack

To display alert notifications from Enginsight in Slack, you need to create a **webhook** in Slack for the app you registered previously. For more information on how to create a webhook, see the [official vendor documentation](https://docs.slack.dev/messaging/sending-messages-using-incoming-webhooks/).
{% endstep %}

{% step %}

### Adjust the Enginsight configuration

1. Log in to the **Enginsight Application Server**.
2. Open the Enginsight configuration file using the following command:

```
sudo nano /opt/enginsight/enterprise/conf/services/config.json
```

3. Navigate to the `integrations` section and add the following:

<pre><code>"integrations": {
    "slack": {
<strong>      "clientId": "&#x3C;SlackClientID>",
</strong><strong>      "clientSecret": "&#x3C;SlackClientSecret>"
</strong>    }
  },
</code></pre>

{% hint style="info" %}
Remember to replace the placeholders `<SlackClientID>` and `<SlackClientSecret>` accordingly.
{% endhint %}

4. Save the configuration file (**Ctrl** + **o**) and confirm the save process. Close the configuration file (**Ctrl** + **x**).
   {% endstep %}

{% step %}

### Apply the changes on the Application Server

You now need to run the setup script for the Application Server again to apply your configuration changes.

1. To do so, navigate to the Enginsight installation directory using the following command:

```
cd /opt/enginsight/enterprise
```

2. Run the setup script anew using the following command and confirm all prompts with the **Enter** key:

```
sudo ./setup.sh
```

{% endstep %}

{% step %}

### Enable Slack notifications in Enginsight

1. Now, when you [create a new alert](https://docs.enginsight.com/docs/manual/english/platform-usage/alerts/overview/add-alert), the **Slack** option is displayed under **Notifications** → **Notification Service**.
2. Select the checkbox <i class="fa-square">:square:</i> next to **Slack** and enter the webhook URL you created previously in the **Webhook URL of the Slack Channel** field that opens.

<figure><img src="/files/nXgVTXxkarmRI66M7csr" alt=""><figcaption></figcaption></figure>

3. Click **Connect Slack** and sign in with your Slack user account.
   {% endstep %}
   {% endstepper %}

***
