# Twilio

Using [Twilo ](https://www.twilio.com)you can enable ngSurvey to interact with WhatsApp respondents as such if you would like to use the [WhatsApp conversational surveys](https://docs.ngsurvey.com/conversational-surveys) features it is mandatory to have a registered Twilio account along a Facebook Business Manager account.

## Main setup

To register for a Twilio account and setup it with WhatsApp please follow the official [Twilio / WhatsApp setup ](https://www.twilio.com/docs/whatsapp/tutorial/connect-number-business-profile) documentation.

## Callback URL

Once you have setup your Twilio account with WhatsApp you need to link ngSurvey and Twilio using a callback URL.&#x20;

1\) Find your ngSurvey callback URL in your account / [system settings](https://docs.ngsurvey.com/installation-setup/system-settings) page.

![](https://1025048312-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8fLhS0bmfBRyq0HdUm%2F-MJGFGBgaDzxGzFpnnuv%2F-MJGG2RBphWf_IiWLFgI%2Fimage.png?alt=media\&token=4fdb1ef2-4381-4f2a-93ad-b36f1455a336)

2\) Copy this URL&#x20;

3\) Open the Twilio [WhatsApp Senders user interface](https://www.twilio.com/console/sms/whatsapp/senders)&#x20;

4\) Click on the Configure button on the WhatsApp number that you will use in ngSurvey

5\) Paste the callback URL that you have copied on step 2.

![](https://1025048312-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8fLhS0bmfBRyq0HdUm%2F-MJGJSuqMU6sI7b4S_fH%2F-MJGKAVPHS4V8Jnn4i4Q%2Fimage.png?alt=media\&token=dae736d4-2ce6-4e2b-b811-e0f95fb453d2)

6\) Click Configure. That's it! From now on Twilio will notify your ngSurvey server on each new WhatsApps messages.

## NGSurvey setup

Once you have setup Twilio the last step is to save your Twilio account settings in your ngSurvey account or [system settings](https://docs.ngsurvey.com/installation-setup/system-settings/mobile-messenging/twilio) page, once this is done you will be ready to use your Twilio WhatsApp enabled number to start conversation with your customers.
