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

# Configure MSG91

MoEngage natively integrates with MSG91 to send Templated WhatsApp messages, show delivery, and read analytics for senders.

Configuring MSG91 with MoEngage is a two-step process:

Step 1: [Sender Configuration](#sender-configuration)

Step 2: [Delivery Tracking](#delivery-tracking)

# Sender Configuration

To configure a Sender from MSG91 on the MoEngage Dashboard, follow the steps below:

1. Go to **Settings** **>** **WhatsApp >** **Sender Configuration**.
2. Click the **+Add connector** from the left pane under the **Sender configuration** tab.

<Info>
  You can choose MSG91 from the left pane if you have already added MSG91 to your connector list.

  <img src="https://mintcdn.com/moengage-docs-limits-messaging/tYudF5omjec12bCp/images/partner_34936155200916.png?fit=max&auto=format&n=tYudF5omjec12bCp&q=85&s=82341dd53158df79a49cd8f61bf959c4" alt="MSG19A.png" width="760" height="512" data-path="images/partner_34936155200916.png" />
</Info>

3. Select **MSG91** from the **Choose a connector** dropdown and then click **Done**.
   <img src="https://mintcdn.com/moengage-docs-limits-messaging/tYudF5omjec12bCp/images/partner_34936155201300.png?fit=max&auto=format&n=tYudF5omjec12bCp&q=85&s=9248a19a6020a608942ed58f1eef72a6" alt="MSG91B.png" width="1312" height="850" data-path="images/partner_34936155201300.png" />
4. Add the following details:

| Field Name               | Description                                                                                                                                                                                                                                                                                                               |
| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Sender Name              | <ul><li>Provide a name to the Sender profile.</li><li>This would be available in the Sender so that you can recognize this easily while using it to create a campaign inside MoEngage.</li><li>The **Sender Name** is a mandatory field that should be between 5-50 characters.</li></ul>                                 |
| WhatsApp business number | <ul><li>Enter the phone number with the country code registered with WhatsApp (through MSG91) using which you want to send out WhatsApp Messages to your users. Note that do not add a plus sign while entering the phone number.</li><li>This is a mandatory field and is also referred to as the WABA number.</li></ul> |
| API URL                  | Collect the API URL from your vendor and enter it into the **API URL** field. Sample URL: <br />[**https://control.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/**](https://control.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/)                                                                          |
| Authkey                  | Enter your MSG91 authkey                                                                                                                                                                                                                                                                                                  |

5. Click **Save**.
6. Notify MSG91 to enable/validate the API token.
7. Upon successful integration, you get the following message.
   <img src="https://mintcdn.com/moengage-docs-limits-messaging/tYudF5omjec12bCp/images/partner_34936335056404.png?fit=max&auto=format&n=tYudF5omjec12bCp&q=85&s=18b3c03e869fb2036b0d3dc60e0ae3dd" alt="SaveIntegration.png" width="1264" height="562" data-path="images/partner_34936335056404.png" />

# Delivery Tracking

To track the delivery of your WhatsApp Messages inside MoEngage, you need to copy the **MoEngage Delivery Tracking URL** and update it on the MSG91 dashboard.

<img src="https://mintcdn.com/moengage-docs-limits-messaging/tYudF5omjec12bCp/images/partner_34936155201812.png?fit=max&auto=format&n=tYudF5omjec12bCp&q=85&s=749d4055aac9b44a1990a4e3b99a3ccf" alt="MSG91C.png" width="938" height="268" data-path="images/partner_34936155201812.png" />

<Info>
  The URL in the image above is a sample URL. Copy the exact URL from your MoEngage dashboard and update it on the MSG91 dashboard.
</Info>

## Steps to Add Delivery Tracking URL

Perform the following steps to add the MoEngage Delivery Tracking URL to the MSG91 dashboard:

1. Login to your MSG91 dashboard and go to **WhatsApp > Webhooks**.
2. Add the **Delivery Tracking URL** in the **Outbound Message** webhook.<img src="https://mintcdn.com/moengage-docs-limits-messaging/tYudF5omjec12bCp/images/partner_34936171025556.png?fit=max&auto=format&n=tYudF5omjec12bCp&q=85&s=0098eec2ff9bbae573f86fb228a8352b" alt="MSG91D.png" width="1600" height="960" data-path="images/partner_34936171025556.png" />
3. Click **Number** in the left side panel and click the edit option against the WhatsApp number you are integrating with MoEngage.<img src="https://mintcdn.com/moengage-docs-limits-messaging/tYudF5omjec12bCp/images/partner_34936155202580.png?fit=max&auto=format&n=tYudF5omjec12bCp&q=85&s=619ed59e05b7c4e40f688488a4ab21a5" alt="MSG91E.png" width="1427" height="583" data-path="images/partner_34936155202580.png" />
4. On the following page, in the **Integration** tab, turn on the **MoEngage Plugin Integration** and click **Save**.
   <img src="https://mintcdn.com/moengage-docs-limits-messaging/tYudF5omjec12bCp/images/partner_34936179650324.png?fit=max&auto=format&n=tYudF5omjec12bCp&q=85&s=3c264f8be179ef9603b9a7328fd04abb" alt="MSG91F.png" width="1437" height="560" data-path="images/partner_34936179650324.png" />
