> ## Documentation Index
> Fetch the complete documentation index at: https://moengage.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Slack

# Choose an Alert Destination

The Alert Manager helps you reach your users where they’re most active, enabling real-time alerts without requiring users to switch between apps. You can now deliver real-time alerts directly to Slack in addition to email, which helps you notify users without switching between tools.

## MoEngage × Slack

The integration of MoEngage and Slack allows you to configure Slack as an alert destination. This helps your team receive alerts instantly, enabling real-time alerts without requiring users to switch between dashboards.

<Info>
  This guide specifically covers setting up Slack as a destination for alert management. If you are looking to use Slack for other use cases (such as sending user engagement messages via Zapier), refer to [Slack (via Zapier)](/partner-guide/messaging-channels/messaging-apps/slack-via-zapier).
</Info>

With this integration, you can do the following

* Push critical system and campaign alerts directly to specific Slack channels.
* Customize which alerts (for example, Flow Stats, Token Expiry) are sent to Slack.
* Manage alert subscriptions independently of email notifications.

## Use Cases

Integrating Slack as an alert destination supports you with the following use cases:

* **Instant notifications** : Bypass email clutter by sending high-priority alerts (such as APNS Token Expiry) directly to an engineering or operations Slack channel.
* **Unified workflow** : Allow marketing and product teams to view flow performance statistics within their daily communication tool.
* **Platform stability** : Ensure immediate visibility when campaign stats deviate from expected thresholds, allowing for rapid course correction.

# Integration

<Info>
  Before you begin the configuration, ensure you have the following:

  * An active Slack workspace.
  * Permissions to create Slack apps and activate incoming webhooks in your Slack workspace.
  * Access to your MoEngage workspace with permissions to configure alert management.
</Info>

Perform the following steps to create a Slack workflow for alert management:

* [Step 1: Create a Slack App](#step-1:-create-a-slack-app)
* [Step 2: Generate a Webhook URL](#step-2:-generate-a-webhook-url)
* [Step 3: Integrate Slack via Webhook URL](#step-3:-integrate-slack-into-alert-management-via-webhook-url)

## Step 1: Create a Slack App

1. Log in to your Slack workspace.
2. Navigate to [https://api.slack.com/apps/new](https://api.slack.com/apps/new).
3. On the Slack api page, click **Create an App**.
   <img src="https://mintcdn.com/moengage/Q5fGPh1IanYG_0OI/images/partner_42946256996628.png?fit=max&auto=format&n=Q5fGPh1IanYG_0OI&q=85&s=5220993cba48567d0c58256395f73255" alt="" width="1600" height="881" data-path="images/partner_42946256996628.png" />
4. On the **Create an app** window, click **From scratch**.
   <img src="https://mintcdn.com/moengage/Q5fGPh1IanYG_0OI/images/partner_42946257000084.png?fit=max&auto=format&n=Q5fGPh1IanYG_0OI&q=85&s=550bf0738e7f095a7355dbce2e94d070" alt="" width="1034" height="692" data-path="images/partner_42946257000084.png" />
5. On the **Name app & choose workspace** dialog box, enter the following details:
   1. In the **App Name** box, type a name for the app.
   2. In the **Pick a workspace to develop your app in** list, select your workspace.
   3. Click **Create App**.
      <img src="https://mintcdn.com/moengage/Q5fGPh1IanYG_0OI/images/partner_42946257002772.png?fit=max&auto=format&n=Q5fGPh1IanYG_0OI&q=85&s=a431e6b42e13504450161723f479efa6" alt="" width="1070" height="1018" data-path="images/partner_42946257002772.png" />
6. On the **Display Information** page, enter the following details:
   1. App name
   2. Short description
   3. App icon & preview
   4. Background color
   5. Long description
      <img src="https://mintcdn.com/moengage/Q5fGPh1IanYG_0OI/images/partner_42946257002900.png?fit=max&auto=format&n=Q5fGPh1IanYG_0OI&q=85&s=ca825efdbf22f80d627260166c502987" alt="" width="440" height="368" data-path="images/partner_42946257002900.png" />
7. Navigate to your Slack application and [create a Slack channel](https://slack.com/intl/en-in/help/articles/201402297-Create-a-channel). Ensure the user generating the Webhook URL is a member of this channel.

## Step 2: Generate a Webhook URL

1. Go to the [Slack App Management Dashboard](https://api.slack.com/apps).
2. Select the app name that you created in the previous step from the list.
   <img src="https://mintcdn.com/moengage/Q5fGPh1IanYG_0OI/images/partner_42946257003156.png?fit=max&auto=format&n=Q5fGPh1IanYG_0OI&q=85&s=e3e3ab2f062f729b194638d8eea0d47f" alt="webhook0.png" width="2672" height="1270" data-path="images/partner_42946257003156.png" />
3. On the left menu, under **Features** , select **Incoming Webhooks**.
4. Turn the **Activate Incoming Webhooks** toggle on.
5. Scroll down and click **Request to Add New Webhook**.
   <img src="https://mintcdn.com/moengage/Q5fGPh1IanYG_0OI/images/partner_42946312120724.png?fit=max&auto=format&n=Q5fGPh1IanYG_0OI&q=85&s=7ae8fc340ad32d8a26ea4d5b070aeef7" alt="webhooksfinal.png" width="740" height="702" data-path="images/partner_42946312120724.png" />
6. Choose the Slack channel for which you want the Webhook URL. This Webhook URL enables programmatic message delivery to the chosen Slack channel through your Slack app. Copy the generated URL to integrate it into your alert settings.

<Info>
  Workspace administrator approval may be required to generate this Webhook URL. You can optionally message the admin to request approval.
</Info>

## Step 3: Integrate Slack into Alert Management via Webhook URL

1. On the left navigation menu of your MoEngage UI, select App marketplace. Alternatively, on the Create alert page, click + Add alert destination in the **Send Alerts On** list.
   <img src="https://mintcdn.com/moengage/Q5fGPh1IanYG_0OI/images/partner_42946312120980.png?fit=max&auto=format&n=Q5fGPh1IanYG_0OI&q=85&s=55029322c0d0637a13099e6fdb8ee43c" alt="slackkkkkkk.png" width="2752" height="1164" data-path="images/partner_42946312120980.png" />
2. On the App marketplace page, click **Alert Management** , and then select **Slack**.
   <img src="https://mintcdn.com/moengage/Q5fGPh1IanYG_0OI/images/partner_42946312121620.png?fit=max&auto=format&n=Q5fGPh1IanYG_0OI&q=85&s=bb09d010e7cee682bc69aca8994d4b75" alt="slack2.png" width="2608" height="1218" data-path="images/partner_42946312121620.png" />
3. On the Slack page, click the **Integrate** tab.
   <img src="https://mintcdn.com/moengage/Q5fGPh1IanYG_0OI/images/partner_42946257005972.png?fit=max&auto=format&n=Q5fGPh1IanYG_0OI&q=85&s=82d912a202dd75ee8f9a1dfe0f2d4f31" alt="slackintegrate.png" width="2596" height="1180" data-path="images/partner_42946257005972.png" />
4. On the **Integrate** tab, enter the following details:
   * **Connection name** : Enter the Connection name.
   * **Connection URL** : Enter the Webhook URL created in the step 2.
5. Click **Connect**.
   <img src="https://mintcdn.com/moengage/Q5fGPh1IanYG_0OI/images/partner_42946257006612.png?fit=max&auto=format&n=Q5fGPh1IanYG_0OI&q=85&s=60493690f01cb89b0ad5dd4496a88edc" alt="slackkk3.png" width="2538" height="892" data-path="images/partner_42946257006612.png" />
6. After the connection is defined, you can now select the defined new destination from the **Send Alerts On** list while creating an alert on the [Alert management](/user-guide/settings/reports-and-alerts/alert-management/getting-started/create-an-alert) page. You can select *Email* , *Slack,* or both.
   <img src="https://mintcdn.com/moengage/Q5fGPh1IanYG_0OI/images/partner_42946257006996.png?fit=max&auto=format&n=Q5fGPh1IanYG_0OI&q=85&s=e17a4e76db8e8176ea3f57d65abee0f4" alt="dashboard4.png" width="2204" height="1014" data-path="images/partner_42946257006996.png" />
7. After adding the destinations, you can view the defined alert destinations on the [Alert management](/user-guide/settings/reports-and-alerts/alert-management/getting-started/create-an-alert) page.
   <img src="https://mintcdn.com/moengage/Q5fGPh1IanYG_0OI/images/partner_42946257007252.png?fit=max&auto=format&n=Q5fGPh1IanYG_0OI&q=85&s=0ae6f09efd820f440889209a56e5a7ea" alt="slackemailfinal.png" width="2734" height="1208" data-path="images/partner_42946257007252.png" />

<Info>
  * Alerts sent to Slack are webhook-triggered.
  * When alerts are configured for both email and Slack, unsubscribing from email notifications will not affect the delivery of Slack alerts, which will continue to be sent.
</Info>
