# Configuration

**Note:**\
**If you don’t want all SMS addons to be installed, you can go for any one SMS addon installation.**

For example,

Magecomp\_Mobileloginmsg91

* **SMS Addons are already added to our standard extension package.**
* **One SMS Addon is required to get a dropdown in SMS API configuration.**

Once the extension is installed successfully, go to Stores>Configuration to configure the extension for use.

<figure><img src="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2F4oSj1l4wLp08Pa1c1mH0%2Fimage.png?alt=media&#x26;token=ce0593e2-760c-44c5-9029-c9b57ebe535f" alt=""><figcaption></figcaption></figure>

* **Abandoned Cart Notification:** Enable or Disable the extension from here. Set it as enabled to use the features of the extension.
* **Select Customers Groups:** Admin will need to select the customer groups from here.

<figure><img src="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2FgJXjgTrSIJxq6uCpOaIF%2Fimage.png?alt=media&#x26;token=808d2ee7-18a5-41da-aaab-7c1a09846b32" alt=""><figcaption></figcaption></figure>

* **Notification Type:** Admin can select the type of notification as per their requirement.

**1. SMS Gateway Configuration:**

<figure><img src="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2Fnn1FA2Cd3dyBEHTLWffS%2Fimage.png?alt=media&#x26;token=c278d279-379f-41fc-8e21-e3edec8540f2" alt=""><figcaption></figcaption></figure>

* **SMS Gateway:** The admin will need to select the gateway type from here. Here we have selected Msg91.
* **Msg91 Sender ID:** Admin can add the sender id from here.
* **Msg91 Authentication Key:** Add the authentication key from here.
* **Route:** Select the route from here.
* **API URL:** Admin will need to add the URL provided by the SMS gateway.
* **Send Message API:** Select the message API to send messages. Here we have selected DLT Template.
* **DLT Template ID:** Add the DLT Template ID from here.
* **DLT Dev Mode:** Set the developer mode for the DLT template from here.

**2. WhatsApp Configuration:**

<figure><img src="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2Fig7gHHWohPZ93v7aGIcn%2FSS.png?alt=media&#x26;token=f783ff97-d21c-46a3-8030-9b9adbf8852f" alt=""><figcaption></figcaption></figure>

**Note: For using Twilio you will need to run the Twilio/SDK from CLI.**

* **Twilio Account SID:** Admin will need to add the Twilio account SID here.
* **Twilio Auth token:** Admin will need to add the Auth Token given by Twilio.
* **Twilio Mobile Number:** Add the phone number here which you purchased from Twilio.
* **Content Template SID:** Add the content template SID given by Twilio.

**3. Email Configuration:**

<figure><img src="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2FNsXOFMJ6apXtz4Yzwvrp%2Fimage.png?alt=media&#x26;token=6fcadbd9-916e-4a2e-a135-0db33d2a8656" alt=""><figcaption></figcaption></figure>

* **Email Sender:** Select the sender which will display in the sent mail to the customer.
* **Email Template:** Select the email template from here.
* **SMS Text:** Add the text as per your desire to send along with the notification via SMS.
* **WhatsApp Text:** Add the text as per your desire to send along with the notification via WhatsApp.
* **Coupon Code:** Add the discount coupon code you wish to send to your customers.
* **Time in Minutes:** Set the time in minutes for which you need to resend the notification emails to your customers.

**4. Popup on Cart:**

<figure><img src="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2FfOGiyU5rtBmk050JlRMe%2Fimage.png?alt=media&#x26;token=4e621b0d-9e69-49e8-954e-420061d292c3" alt=""><figcaption></figcaption></figure>

* **Popup Title:** Add an attractive title as per your desire.
* **Popup Button Text:** Add the button text in this field.
* **Popup Success Message:** Add message which will be displayed after customer sends response.

**5. Short URL Sharing Settings:**

<figure><img src="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2FOk6jjLl5eeD8ZywBRDnt%2Fimage.png?alt=media&#x26;token=f5b42503-b4f5-41a8-9e59-35f740bbd0ef" alt=""><figcaption></figcaption></figure>

* **Bitly Short URLs:** Admin will need to set enable from here.
* **Bitly API Key:** Add the API key here which is provided by the bitly.
* **Bitly Domain:** Add the domain for a short URL.
* **Bitly Group:** Add the group name of the short URL.

**6. Phone Number Validation Settings:**

<figure><img src="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2FqSqzr87O95815Ky44OVl%2Fimage.png?alt=media&#x26;token=1271714b-66fc-4bbd-88eb-c7251ef49fb2" alt=""><figcaption></figcaption></figure>

* **Show or Hide Country Flag in Mobile Number field:** Enable it to show the country flag in the discount coupon popup.
* **Country Digits:** Add digits and country to validate the phone number.
