# WebEngage

### Generate API Key in Gallabox

1. From the left navigation go to **Integration** in your Gallabox and Click on **WebEngage** from the available apps.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FbXtNEsgD4KH4J6qaSi8y%2FAvailable%20apps%20-%20Weengage.gif?alt=media&#x26;token=a5ecdaf3-1e36-4200-8a3c-f543730b0728" alt=""><figcaption></figcaption></figure>

2. Provide a name for the integration and click on **Connect**. On connection, Gallabox will provide **API Key.** This key will be used in the WebEngage Platform.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2F6YHYzfjVu6yFOBv44DlE%2FAPI%20Key%20for%20WebEngage.gif?alt=media&#x26;token=f4ded47f-b2b3-4a33-809b-6c6927448d73" alt=""><figcaption></figcaption></figure>

### Add WSP in WebEngage

1. Navigate to **WebEngage** and from the navigation bar click on **Data Platform.** Select **Integrations** from the drop-down and choose **WhatsApp Setup** and click on **Configure.**

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2Fli33NuLZuJT2pm6MZWwC%2FIntegrate%20Gallabox%20in%20Webengage.gif?alt=media&#x26;token=52607ccf-a26f-46df-8ca3-91a28131b8f8" alt=""><figcaption></figcaption></figure>

2. Upon Clicking on **Configure**, you will have to choose Private WSP from the available apps. A pop-up will appear to ***Edit WhatsApp Service Provider*** as show below by providing all the necessary details.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FuCwg2pVcf47XCjZ9QKDB%2FConfigure%20WSP%20in%20Webengage.gif?alt=media&#x26;token=d30147cd-a269-498f-b8d2-f46e05932822" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="264">Fields</th><th>Description</th></tr></thead><tbody><tr><td><strong>Configuration Name</strong></td><td><em>Enter <strong>Gallabox</strong> as the configuration name.</em></td></tr><tr><td><strong>WhatsApp Business Number</strong></td><td><p>Put the <strong>phone number</strong> connected with your Gallabox account. You can copy it from the integration you created in the previous step. </p><p>The WhatsApp number should be in this format: 91XXXXXXXXXXX</p></td></tr><tr><td><strong>URL</strong></td><td>Paste the below URL in the field <br><code>https://server.gallabox.com/integrations/webengage/webhook</code></td></tr><tr><td><strong>Request Type</strong></td><td> <em>Select</em> <strong>Send personalization variables</strong></td></tr><tr><td><strong>Custom Headers</strong></td><td><p>Click on Add Header to add the Key and Value as given below. You can copy the API key from the integration created in the previous step.</p><p><code>Authorization: Bearer &#x3C;&#x3C;Your Gallabox API Key>></code></p></td></tr></tbody></table>

4. Once all the details are added, click on Save. You can see the Integration under the WSP List as shown.

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FAzpxBM8LwSlDwyX39BBE%2FAdd%20WSP%20in%20Webengage.gif?alt=media&#x26;token=2ed6c22d-fcfd-4ddd-8788-e470f0f3765a" alt=""><figcaption></figcaption></figure>

### Setting Throttling Configuration

1. Navigate to **Configuration** from the navigation panel. Select **Throttling**, then **WhatsApp**. Keep throttling limit as **1000 per minute.**

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FpBqNRylb2Qc0a9q7Tcjc%2FWebEngage_Throttling.gif?alt=media&#x26;token=2a63ea23-0c04-4001-9609-eb4e12d6a481" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Now you can send 1000 messages sent out per minute through WhatsApp.&#x20;
{% endhint %}

#### ***Your  configuration is ready. You can now start using WebEngage to send WhatsApp messages via Gallabox***

### WebEngage WhatsApp Templates

1. Once the WSP is added in WebEngage, you have to click on "**Add WhatsApp Template**" button. Once you click on "**Add WhatsApp Template**" button, a pop-up will open.

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FWap03tcoQKoZPLDNgfbI%2FAdd%20WhatsApp%20Template%20in%20WE.gif?alt=media&#x26;token=ef0df21a-0709-475b-afbd-d2e1caba5480" alt=""><figcaption></figcaption></figure>

2. &#x20;You have to choose the WSP that you created for Gallabox. You have to copy & paste the exact template (**verified**) from Gallabox you want to share as a part of your campaign. Once you copy & paste the template, click on the button - "**Add Template**". The Template will be listed on your WebEngage Account and is ready to be used in the WhatsApp Campaign.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FUPmmj5q5cgMFpvBLpOgf%2FAdd%20WT%20in%20WE.gif?alt=media&#x26;token=245123b5-77f3-45f9-9a53-ecc87909b8dd" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
In WebEngage, you list the variables as {{1}}, {{2}}. Make sure to change your variables from Gallabox to the numbers.&#x20;
{% endhint %}

Get Ready to Launch your first WhatsApp Campaign on WebEngage! :thumbsup:
