# Slack & Better Stack integration

![5b8a472-Better_Uptime__Alert_Dark_Mode.png](https://imagedelivery.net/xZXo0QFi-1_4Zimer-T0XQ/52c18514-e647-4579-8cb5-a4fdec98c700/public =4000x1576)

## Using Slack with Better Stack

This integration allows you to receive incident alerts directly in Slack.

The incident alert message includes information about the monitor, as well as the options to acknowledge the incident or to view more details in Uptime.

Since the incident alert is posted as a regular Slack message, you can create a thread under it - tag your colleagues and quickly start collaborating.

[info]
Before configuring this integration, please make sure you have a dedicated Slack channel that you will use for incident alerting.

If you don't have one, you can create a new one, and name it for example **#betterstack**, **#incidents** or **#on-call.**
[/info]

### Connecting Slack with Uptime

1. Go to [Integrations](https://uptime.betterstack.com/team/0/integrations/ ";_blank").
2. Find the Slack integration row.
3. Click **Add to Slack**.
4. You will get redirected to Slack.
5. **Select the channel** where you want to post new incidents messages.
6. Click **Allow**.

Now all new incidents will automatically be posted into this Slack channel, as well as all monitor's alerts. 

### Creating advanced Slack alerting rules

<div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;">
  <iframe 
    style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;" 
    src="https://www.youtube.com/embed/2mxjs_WRl8w" 
    title="YouTube video player" 
    frameborder="0" 
    allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" 
    referrerpolicy="strict-origin-when-cross-origin" 
    allowfullscreen>
  </iframe>
</div>

To post incidents into multiple Slack channels, or to only post incidents from a specific monitor, we need to create a dedicated [escalation policy](https://betterstack.com/docs/uptime/escalation-policies/):

1. Go to [escalation policy](https://uptime.betterstack.com/team/0/policies ";_blank") and click **Create escalation policy**.
2. Name your escalation policy, for example: "Slack only".
3. In the **Who should we alert?** section, pick the Slack channel you want to send the alerts to.
4. If you want to send other notifications, like e-mail, too, you can configure the  **How urgent is the alert?** section as well.
5. Once ready, click **Create escalation policy**.
6. Now go to the desired monitor and click **advanced escalation policy**.
7. Pick your new escalation policy and click **Save changes**.
8. That's it, nice job!

### Connecting to a private Slack channel

You can select **both public and private channels** when creating a new Slack integration:

![Xnapper-2025-07-15-18.47.03.png](https://imagedelivery.net/xZXo0QFi-1_4Zimer-T0XQ/475c40e6-27ee-4a1e-085f-cad3219ed800/md1x =3080x1548)

<!---
![Xnapper-2025-07-15-18.35.55.png](https://imagedelivery.net/xZXo0QFi-1_4Zimer-T0XQ/76f17243-a0c7-4275-41c7-7a1301f5fe00/lg2x =1718x2340)
--->

To allow the integration to write to your **private channel**, manually add our bot by writing `/add app` directly into it in Slack:

![Xnapper-2025-07-15-18.38.44.png](https://imagedelivery.net/xZXo0QFi-1_4Zimer-T0XQ/dd96bce8-f022-4d51-1bfd-29b7e8580b00/lg1x =2238x820)

Search for the `Better Stack` app and add it:

![Xnapper-2025-07-15-18.40.53.png](https://imagedelivery.net/xZXo0QFi-1_4Zimer-T0XQ/4be4325b-e4ec-4430-16f2-3d57e24a9c00/lg2x =4160x1650)

And you're done! 🚀

Now you can click **Send test alert** in Better Stack to test the connection:

![Xnapper-2025-07-15-18.41.39.png](https://imagedelivery.net/xZXo0QFi-1_4Zimer-T0XQ/c7a390fa-9219-432a-7f8d-112aedd29f00/orig =2328x1528)
