# Slack for Alert Notifications

The ThousandEyes platform integrates with the popular messaging application Slack. When an alert is raised, a notification can be sent to a Slack channel automatically.

## Slack Integration

In order to integrate ThousandEyes alerts into Slack, you need to generate a webhook URL for your Slack channel as follows:

1. Sign into \<your-domain>.slack.com.
2. Click the option to add an **Incoming Webhooks** integration: <https://my.slack.com/services/new/incoming-webhook/>.
3. Choose a channel where you want alert notifications to be posted.
4. Get the webhook URL from the integration settings.

Now, open the ThousandEyes platform.

1. Go to **Manage > Integrations**.
2. Click **+ New Integration**.
3. Select **Slack**.

The resulting panel displays the following fields:

| **Name**             | Enter a name for your integration.                                            |
| -------------------- | ----------------------------------------------------------------------------- |
| **URL**              | Enter the channel Webhook URL \\(see step 4 above\\).                         |
| **Channel**          | Enter the channel name.                                                       |
| **Cancel/Test/Save** | Once all fields are finalized, click \*\*Save\*\* to add the new integration. |

{% hint style="info" %}
If you need more customization than this native Slack integration supports, follow the instructions to set up a [Custom Webhook](https://docs.thousandeyes.com/product-documentation/integration-guides/custom-webhooks) instead.
{% endhint %}

Now, when an alert is triggered, the alert details will be posted as a message within the designated channel, as shown below. If you click the alert message link, the ThousandEyes **Views** screen opens, at the alert start time.

![alert\_triggered.png](https://1112912342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4QARF6s57qxMrOHDTZ%2Fuploads%2Fgit-blob-7bd5614c67b60796745cb88aee78809e91fb1a97%2Fproduct-documentation_alerts_slack-integration-5.png?alt=media\&token=72433f63-3ca5-4844-96a9-fd051d3016fb)

When your alert rule conditions are no longer met by your test (or the alert rule is updated such that the conditions no longer meet the criteria of the alert), the **Alert cleared** message is posted in your Slack channel. You can click the message link to open the ThousandEyes app at the **Views** screen for the alert cleared time.

![alert\_cleared.png](https://1112912342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4QARF6s57qxMrOHDTZ%2Fuploads%2Fgit-blob-21607f8b954bd76f269dff5c26b4cc06810d86c4%2Fproduct-documentation_alerts_slack-integration-6.png?alt=media\&token=5c2a45ab-c498-442f-8130-952d8dcfa894)
