# Create A Twilio Account(Sandbox):

Watch our latest tutorial on configuring Twilio WhatsApp API within Dynamics 365 and enabling WhatsApp features on with WhatsApp4Dynamics.

{% embed url="<https://youtu.be/O-PBBZf-RLQ>" %}

WhatsApp4Dynamics leverages Twilio's WhatsApp API to enable seamless communication within the Microsoft Dynamics 365 environment.&#x20;

By integrating Twilio's API, WhatsApp4Dynamics allows users to send and receive WhatsApp messages directly from their Dynamics 365 interface.

**Let’s take a look at how to get started with Twilio:**

* Sign up on <https://www.twilio.com/try-twilio>.

<figure><img src="/files/BGQX9VjXvHpmXypuOFZX" alt=""><figcaption></figcaption></figure>

* Add your **First Name, Second Name, Email Address, and Password.**
* You will then be sent a verification email.

<figure><img src="/files/sQ5wVGpU3WIe697uxPFX" alt=""><figcaption></figcaption></figure>

* Once verified, you need to add your phone number to setup your Twilio account and validate the same.

<figure><img src="/files/knGnIDE3WTTz9VDdDtj8" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Note:** During signup, the phone number provided is only for setup and verification. This number need not be similar to your WhatsApp Business Account number / Sender Number that you will use to communicate with your clients and is only for setup.
{% endhint %}

After the Twilio Verification Process is completed, then you need to mention which product you would like to access with the help of Twilio.

<figure><img src="/files/8xhRJxwcBZceXMZ4RQMQ" alt=""><figcaption></figcaption></figure>

* Add **“WhatsApp”**, when asked which Twilio product are you here to use.
* We have added “**Lead Conversion**” when asked what do you plan to build with Twilio. You may choose any other segment as your business preference.

<figure><img src="/files/Y5ZmXnxpZkwoi6cNebCK" alt=""><figcaption></figcaption></figure>

* Select, **“With no code at all”**
* And in the last section, select **“Build something myself”**
* And click **“Get started with Twilio”**

**Once registered, you'll have access to your Twilio dashboard.**

<figure><img src="/files/Eeqcy4rMHaAHpeK15WCn" alt=""><figcaption></figcaption></figure>

**Get your Twilio Account SID"** and **"Auth Token:** In the Twilio dashboard, go to **"Account Info"** and take note of the **"Account SID"** and **"Auth Token."**

<figure><img src="/files/OtQFTNqPMMIBiwyLQeF8" alt=""><figcaption></figcaption></figure>

* **Install and configure the integration:** Follow the instructions provided by the integration solution to set up the connection with Twilio's API. This typically involves entering your Twilio Account SID and Auth Token, which will allow the CRM to communicate with the Twilio platform.

In Twilio Configuration Details&#x20;

* **The Account SID**
* **Auth Token (Once the user adds this in normal text, it will be automatically encrypted.)**
* **Messaging Service SID**

<figure><img src="/files/seLgKPLwXRxMtWcs5ICy" alt=""><figcaption></figcaption></figure>

**Steps to Get the Messaging Service SID:**

* Log in to Twilio Dashboard.
* Navigate to Messaging Services:  Click **Messaging** -> **Services**.

<figure><img src="/files/k7vsdjX9hr2hg9zL1bZ2" alt=""><figcaption></figcaption></figure>

* Click on the Create Messaging Service.
* Fill in the Details:

1. Messaging Service Friendly Name: Enter any name you prefer.

<figure><img src="/files/lHTFkGfsEHZ2jG2PQl2V" alt=""><figcaption></figcaption></figure>

2. What do you want to use this Messaging Service for: Select **Notify my users.**

<figure><img src="/files/QhUtYrtaaVHu3pvgF3GM" alt=""><figcaption></figcaption></figure>

* Once the fields are filled, click on the **Create Messaging Service** button.
* Now, you will be redirected to the next page. Click on **Skip Setup**.

<figure><img src="/files/79XIcdPHmaEF3gsJZw9V" alt=""><figcaption></figcaption></figure>

* Here, you'll find the **Messaging Service SID**.

<figure><img src="/files/vC0HlZiBLB73E76gxOtj" alt=""><figcaption></figcaption></figure>

* Copy the Messaging Service SID shown in the dashboard.
* Now, paste the **Messaging Service SID** into the Messaging Service SID field in the Twilio Configuration Details section.
* Click **Save**.

**Once Account Info is added, update the WhatsApp Preferences:**

* **Allow Create To -** Create a lead, contact, account, or any other OOB or custom entity record from the chat record. In this section, Multiple Entities can be added such as Account, Lead, Contact, any OOB, or Custom Entities.
* **Session Timeout –** This specifies how long will a WhatsApp session be active (This is by default for 24 hours / 1 day).
* **Idle Timeout -** By default, chat notifications are only visible to the owner of the chat session. But the chat becomes visible to all users if there is no activity for the specified minutes in this field.

<figure><img src="/files/utnPkQOqIZ1HUEggDLsb" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
For further queries, reach out to us at <crm@inogic.com>
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.inogic.com/whatsapp4dynamics/configuration/configuration/create-a-twilio-account-sandbox.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
