> ## Documentation Index
> Fetch the complete documentation index at: https://moengage-docs-limits-personalize.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-personalize/aBiym8xsWPITObrn/images/partner_34936155200916.png?fit=max&auto=format&n=aBiym8xsWPITObrn&q=85&s=43a08c3852ce21106d0eb55e0640fcce" 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-personalize/aBiym8xsWPITObrn/images/partner_34936155201300.png?fit=max&auto=format&n=aBiym8xsWPITObrn&q=85&s=ba8051975c77a2bbebf0758aa8aa59d2" 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-personalize/aBiym8xsWPITObrn/images/partner_34936335056404.png?fit=max&auto=format&n=aBiym8xsWPITObrn&q=85&s=c51c2bd7327163b2e00c6d2d65366d98" 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-personalize/aBiym8xsWPITObrn/images/partner_34936155201812.png?fit=max&auto=format&n=aBiym8xsWPITObrn&q=85&s=f1c77dc3cf5f36afb64f40bd4906233f" 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-personalize/aBiym8xsWPITObrn/images/partner_34936171025556.png?fit=max&auto=format&n=aBiym8xsWPITObrn&q=85&s=685bf0eef94e11b6da68feef3206b349" 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-personalize/aBiym8xsWPITObrn/images/partner_34936155202580.png?fit=max&auto=format&n=aBiym8xsWPITObrn&q=85&s=ef35f1386cbe42b57c39cbba9e725de5" 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-personalize/aBiym8xsWPITObrn/images/partner_34936179650324.png?fit=max&auto=format&n=aBiym8xsWPITObrn&q=85&s=6926ec704e8fa5785fbb0fa89b7fad1f" alt="MSG91F.png" width="1437" height="560" data-path="images/partner_34936179650324.png" />
