# WhatsApp

{% embed url="<https://www.loom.com/share/97c66c7d95014d5c8cef7fdb01b1073b?sid=9c177a2a-bcb4-4453-b567-1c2fbdb508d7>" %}

***Note :** you must have a <mark style="color:blue;">Facebook</mark> account to utilise this feature.*

Go to the [Meta developers](https://developers.facebook.com/) page, on the top right corner click on "**Get Started**"/"**Login**"(Depending on whether you have a Meta developer account).

<details>

<summary>Create a Meta developer account</summary>

You can create your Meta developer account using your phone number, and enter the code received on your number as shown below

<img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2F2gMvTmG79QCPh3czEhRx%2FScreenshot%20from%202023-07-20%2016-51-57(1).png?alt=media&#x26;token=4a2fa377-1c12-4ae6-ae6c-d6bba7cf3e6e" alt="" data-size="original">

Then click on the "**Confirm Email**".

<img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2FCbgmVmEutlUWgFNjT9LK%2F1.png?alt=media&#x26;token=6058e03d-d332-455f-b89e-b7382688e37e" alt="" data-size="original">

Then from given options choose "**Developer**"

<img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2FXYY1NPRZhBjsyEKT4RoE%2FScreenshot%20from%202023-07-20%2016-52-48.png?alt=media&#x26;token=cb96a73d-2f28-4772-96c3-0fcbbc5d8205" alt="" data-size="original">

</details>

1. After "**Login**/**Signup**", go to WhatsApp Cloud-Api Documentation -> [Get Started](https://developers.facebook.com/docs/whatsapp/cloud-api/get-started)&#x20;

You will see a screen as shown below.

<figure><img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2F4AlI6Y6sslHcXWGLUltV%2FScreenshot%20from%202023-07-20%2016-55-37.png?alt=media&#x26;token=a0649ffa-6660-4639-8521-87c6a7745f0c" alt="" width="563"><figcaption></figcaption></figure>

Here, click on "**Enable two-factor Authentication**"&#x20;

<figure><img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2F15tJNGR0xpwa2mhrEg3r%2FScreenshot%20from%202023-07-20%2017-02-15.png?alt=media&#x26;token=eb9c71d4-fe79-447b-93d3-8901cc20d2c1" alt="" width="563"><figcaption></figcaption></figure>

On the next page, as shown above, click on "**Security and login settings**" link given in point 1. Then click "**Ok**" on the prompt that will show up if you are a new user.

<figure><img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2Fi9qeMLInTNUqtBkt6pWL%2FScreenshot%20from%202023-07-20%2017-03-00.png?alt=media&#x26;token=b4c06d4a-c11e-43f1-9c19-501a3c571c5f" alt="" width="563"><figcaption></figcaption></figure>

Now in the section for "**Two-factor authentication**", click on "**Use two-factor authentication**".

<figure><img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2Fx6EDs62xbeTIxr0qms5G%2FScreenshot%20from%202023-07-20%2017-04-53.png?alt=media&#x26;token=5fce34d6-a691-489a-8720-054cee2a8169" alt="" width="563"><figcaption></figcaption></figure>

Now in the options provided, select "**Use Authentication App**" and you will receive a QR code on your screen.

{% hint style="info" %}
*You need to to download mobile Authenticator app such as **Google Authenticator***&#x20;
{% endhint %}

Open your *Authenticator* app and click on the "**+**" icon at the bottom left and select "**Scan QR code**" and then scan the QR code you received.

Upon successfully enabling Two-Factor Authentication, you will see a screen like one shown below.&#x20;

<figure><img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2Fy3hWY7w6d4dyQ2csSSAt%2FScreenshot%20from%202023-07-20%2017-06-28.png?alt=media&#x26;token=7d979a4f-571e-4d49-b4c1-14e33e57318f" alt=""><figcaption></figcaption></figure>

2. Now go back to your Meta Developer account -> My Apps and click "**Create New App**"&#x20;

<figure><img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2Fp3q1YRCsS34m24wMb79z%2FScreenshot%20from%202023-07-20%2017-07-12.png?alt=media&#x26;token=91a22c3c-ac86-4ae6-b3a0-8c3874b9cab2" alt="" width="563"><figcaption></figcaption></figure>

Select your use case of app as "**Other**" and click on "**Next**"

<figure><img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2FNo3oNPB7jOQ2noSml88X%2FScreenshot%20from%202023-07-20%2017-08-07.png?alt=media&#x26;token=efef735a-26f2-41d8-8167-94b53752c93e" alt="" width="563"><figcaption></figcaption></figure>

Select your type of app as "**Business**" and click on "**Next**"

<figure><img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2FuPX0KNmWPuu4fLURN7ne%2FScreenshot%20from%202023-07-20%2017-08-37.png?alt=media&#x26;token=1153228c-a8fb-4445-b6b7-05b0cdca6f7c" alt="" width="563"><figcaption></figcaption></figure>

Add relevant details about your app

<figure><img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2Fhs2Q2ScIhJN35lid8roi%2FUntitled%20design.png?alt=media&#x26;token=acd50a41-9e43-4ba0-9b33-5b5b3614602c" alt="" width="563"><figcaption></figcaption></figure>

3. Now on the  App Dashboard on the left panel click on "**Dashboard**"&#x20;

<figure><img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2Fo1aq7o9g1D8McqyZN2wk%2FScreenshot%20from%202023-07-20%2017-12-42.png?alt=media&#x26;token=418290a9-0732-4af2-9bbe-af4e4fe70b3e" alt="" width="224"><figcaption></figcaption></figure>

Scroll down and in the Products list go to "**Weebhook**" and click on "**Set up**"

{% embed url="<https://www.loom.com/share/2aed469c6ad549cea24b00dd863920c3?sid=a798a7af-1164-4820-8d12-7f8af1fae248>" %}

Next, Scroll down and in the Products list go to "**WhatsApp**" and click on "**Set up**"

<figure><img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2FV78CQkBkCdyKtq7MtsEt%2FScreenshot%20from%202023-07-20%2017-13-20.png?alt=media&#x26;token=8bea8463-b9d2-4753-9987-c5b940be1998" alt="" width="563"><figcaption></figcaption></figure>

Now create a new Meta Business Account if you don't have one, by going to [Meta Business Manager](https://business.facebook.com/) (You will see the below screen if your don't have one)

<figure><img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2Fkbm15HdittPJhfbzMuQe%2FScreenshot%20from%202023-07-20%2017-15-06.png?alt=media&#x26;token=93428c50-8fa6-4675-885b-757d6ea526aa" alt="" width="334"><figcaption></figcaption></figure>

{% hint style="info" %}
***Note :*** *While creating a Meta Business Account please ensure that your business name and your business email domain are similar.*&#x20;

*It is not necessary to create Meta Business account with the same email as your Facebook account.*

*Also please ensure that you verify your email, as requested by facebook.*
{% endhint %}

If you already have a Meta Business Manager Account, you can select that account and click "**Continue**"

4. Now you will see the page shown below

<figure><img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2F71dNovFjloXFoQlc8rx9%2FScreenshot%20from%202023-07-20%2017-57-47.png?alt=media&#x26;token=8071479c-425a-43e0-933a-bdf015b3d673" alt="" width="563"><figcaption></figcaption></figure>

Now click on "**Start using the API**" , and you will be redirected to the API setup page.

<figure><img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2Fp2RFF9AOVMzODozkjuqe%2Fimage(1).png?alt=media&#x26;token=79c6d58f-4a25-4117-b1b4-97f812f5089d" alt="" width="563"><figcaption></figcaption></figure>

In the input box provided, select a test number, provide any number you can receive whatsapp messages on and click "**Send message**" (This is for testing purposes)

#### 5. Webhook Configuration

Now to to the "**Webhook**" section below and click on "**configure webhook**"&#x20;

<figure><img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2FvVetkxurAX1Zi1swvSso%2FScreenshot%20from%202023-07-20%2018-06-13.png?alt=media&#x26;token=33ede5b5-95b5-4159-bd65-90dee8104b8e" alt="" width="563"><figcaption></figcaption></figure>

Here you can see 2 inputs "**Callback URL**" & "**Verify Token**", these can be retrieved from your Orimon user dashboard, as explained **here** (We should skip this step if you have not configured your phone number first, and come back to it later)

#### Configuring Production Phone number

&#x20;Go to -> API setup -> click on add phone number

<figure><img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2FjqNCkKDAb5qgkUVnk1Ch%2FScreenshot%20from%202023-07-20%2018-23-32.png?alt=media&#x26;token=9331c736-5d43-4247-9a7f-f593378f33dd" alt="" width="563"><figcaption></figcaption></figure>

{% hint style="info" %}
***Note :** Your bot will reply to your customers through this number.*&#x20;

*Also you **must** ensure that this number in <mark style="color:red;">**NOT**</mark> registered on whatsApp business or messenger app.*

***Tip :** You can only add up-to 2 production numbers without business verification. Visit* [*WhatsApp Business Platform Documentation*](https://developers.facebook.com/docs/whatsapp/phone-numbers/) *to learn more*
{% endhint %}

<figure><img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2FNaBIDTzvMZetBaRfqFWO%2FScreenshot%20from%202023-07-20%2018-24-29.png?alt=media&#x26;token=713f3c9e-9b75-42f1-9669-187ded5fdc4c" alt="" width="563"><figcaption></figcaption></figure>

{% embed url="<https://www.loom.com/share/d076597a0746466b8abfb9fdf317e133?sid=6b0db08e-79ba-4c97-a224-32bfa7b132d1>" %}

Now on the next page, please fill all necessary details about your business.

&#x20;Verify your phone number using text or call as shown below

<figure><img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2FQJvNLLPkCuduPHppyz0P%2FScreenshot%20from%202023-07-20%2018-27-55.png?alt=media&#x26;token=5d7feedd-2991-46a1-95b2-93f3e8a1f8ec" alt="" width="563"><figcaption></figcaption></figure>

7. Now got back to -> Overview Page.

{% embed url="<https://www.loom.com/share/6d0a4bf035b44481a48b7e2f2863f607?sid=d85f6b07-2c39-46bf-b647-2ea47e334b75>" %}

Click on the "**All tools**" in the left panel

<figure><img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2FjWQaQAdudEnIw4Cg6HJa%2FScreenshot%20from%202023-07-20%2018-51-49.png?alt=media&#x26;token=7cbe3d2d-2599-4739-b690-59e3fbb0fad0" alt="" width="41"><figcaption></figcaption></figure>

Next click on "**Business settings**" -> "**System Users**" under the users section&#x20;

<figure><img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2F3JADGnzCcyqTDoVkRR3h%2FScreenshot%20from%202023-07-20%2018-53-00.png?alt=media&#x26;token=d6bb8f38-6991-45ea-bcf6-4dcf21ab5ae0" alt="" width="429"><figcaption></figcaption></figure>

Click on "**Add**" to add a new system user and accept permissions asked by Meta.

Also ensure to assign role as "**Admin**" and give appropriate username. Click on "**Create System User**"&#x20;

<figure><img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2Fl6tI9pSKpJfkKLzNQHV8%2FScreenshot%20from%202023-07-20%2018-56-31.png?alt=media&#x26;token=52f853ac-5969-437c-892c-3e136343651a" alt="" width="477"><figcaption></figcaption></figure>

On the next page click on "**Add assets**"&#x20;

<figure><img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2FzOf3DN1BTMJZjDahaXlJ%2FScreenshot%20from%202023-07-20%2018-56-50.png?alt=media&#x26;token=718c9f84-9f10-4c82-8ec6-1a831c4b4457" alt=""><figcaption></figcaption></figure>

On this page click on "**Apps**" -> select your whatsapp integration -> then under full control toggle on the "**Manage Apps**" switch and click on "**save changes**"

<figure><img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2FcJC9VLZcOx3e0troyrde%2FScreenshot%20from%202023-07-20%2018-57-46.png?alt=media&#x26;token=f3033781-2d3c-4985-9284-f19c6200a004" alt=""><figcaption></figcaption></figure>

Now as shown above, under "**Accounts**" section, select "**WhatsApp accounts**" . Then select your production whatsapp account

<figure><img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2FbwttJkVAX7vjhaJ2gPRi%2FScreenshot%20from%202023-07-20%2018-58-25.png?alt=media&#x26;token=f7fa2c52-84b2-454a-a6c0-4140b305472a" alt="" width="475"><figcaption></figcaption></figure>

Now click on "**Add people**"&#x20;

<figure><img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2Fbin1y2LlIguSbyQ8fk9d%2FScreenshot%20from%202023-07-20%2018-59-13.png?alt=media&#x26;token=123df9cb-d89f-4941-96e5-836cb96d2d92" alt="" width="563"><figcaption></figcaption></figure>

Now select your system user and grant "**Full Control**" . Then click on **Assign**&#x20;

Again go to **User** -> **System Users**, select the user you created, and click on "**Generate New Token**"&#x20;

<figure><img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2F7QmNAJpMy9CmtLQsPLCC%2FScreenshot%20from%202023-07-20%2018-54-40.png?alt=media&#x26;token=042f2f0a-97e7-4aa9-b343-0bbc2bbd8336" alt="" width="480"><figcaption></figcaption></figure>

Now select your whatsapp integration from the drop-down, and set the expiration period to "**Never**" \
Ensure you select the following permissions.

<figure><img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2Fhk9BRPkiGGhKkbDFW2MN%2FScreenshot%20from%202023-07-20%2018-55-27.png?alt=media&#x26;token=00ccc36f-487a-487e-af23-6ea012d2908d" alt=""><figcaption></figcaption></figure>

Click on "**Generate Token**"&#x20;

{% hint style="info" %}
***Note :** Please ensure that you copy the token that is generated for future reference, as it will be needed for this integration moving forward.*\
*Please <mark style="color:red;">DO NOT</mark> share this token with an untrustworthy individual or platform*
{% endhint %}

#### 8. Verification of Access token

Go to [Meta Access Token Debugger](https://developers.facebook.com/tools/debug/accesstoken/) -> in the input provided paste your access token -> click "**Debug**"&#x20;

<figure><img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2FcBH5jUBoddhs3QHsqN62%2FScreenshot%20from%202023-07-20%2019-00-19.png?alt=media&#x26;token=c1000157-08a2-4e6f-bc5b-59164d0f74c1" alt="" width="563"><figcaption></figcaption></figure>

After doing this you will be able to see details regarding your access token.

<figure><img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2Fi1Izx82kJAabhmgOAD0F%2FUntitled%20design(1).png?alt=media&#x26;token=01e03c6c-5477-4cff-91db-753b0997e570" alt="" width="563"><figcaption></figcaption></figure>

Please validate that the following 4 fields have the same value as shown in the image

***"Expires", "Data Access Expires", "Valid" & "Scope"***.

If any of these fields do not have matching values, please follow the above steps again and regenerate your token.

#### 9. Setting up WhatsApp profile

Go to All Tools -> WhatsApp manager

<figure><img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2Fa8YZIUik0405g5fRTQYf%2FScreenshot%20from%202023-07-20%2018-52-28.png?alt=media&#x26;token=9d5a7bc4-ba96-4601-ad0e-c52d15cb118e" alt="" width="299"><figcaption></figcaption></figure>

Now you will see a screen as shown below

<figure><img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2F5Mrk8JM781jUC7KF5VO8%2FUntitled%20design(2).png?alt=media&#x26;token=099331fb-a523-477f-b371-e14ccbdea1a9" alt="" width="563"><figcaption></figcaption></figure>

{% embed url="<https://www.loom.com/share/bdfb990baaf54a0ba62e330ee55e8219?sid=4e8b0b50-ee4a-44cd-b197-6e1bf408175c>" %}

Now click on your Production Number to set up your profile. Next click on "**Profile**" as shown below.

<figure><img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2F8gPFpMZld0aumHGqf16C%2FScreenshot%20from%202023-07-20%2019-16-05.png?alt=media&#x26;token=d5166b04-a910-460f-9ebf-939dc6402e57" alt=""><figcaption></figcaption></figure>

Now proceed with filling all relevant details about your business like description and contact information. Then click  "**Save**"

10. After completing this go to "**Message Links**" -> then click on "**Create Message Links**"

<figure><img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2F2OS5yhb7jF4i4rVMmX0T%2FScreenshot%20from%202023-07-20%2019-16-51.png?alt=media&#x26;token=f8b333ee-d1d2-4a96-b732-f22ba0e7ce73" alt="" width="450"><figcaption></figcaption></figure>

You can enter any pre-defined first message here, that your users will be able to send when they connect to your bot via WhatsApp, after this click "**Save**"&#x20;

A **message link** in your WhatsApp profile allows people to start a chat with you on WhatsApp without having to save your phone number. This is can be a QR code or a URL link.

You can add this on your website for visitors of your website to use it.

Now click on "**Two-step verification**" -> click on the link that is provided.

*Please ensure you have confirmed your email.*

Now, enter all your relevant details -> click "**Save**" .

<figure><img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2FZ1OSah3PZzIWFYUpcICe%2FUntitled%20design(3).png?alt=media&#x26;token=3e16bb2b-a076-4b53-96a3-9b644019347c" alt="" width="449"><figcaption></figcaption></figure>

11. Under "**My Info**" section -> confirm your email

<figure><img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2FmpSv0IbEP55csdPyFWVL%2FUntitled%20design(4).png?alt=media&#x26;token=bf3ad93c-ab29-467e-b9fa-11ba26ac64b3" alt="" width="500"><figcaption></figcaption></figure>

{% embed url="<https://www.loom.com/share/6a03dc6703c94df4a5ecdb6e213f0638?sid=7276ed84-253e-4236-ab47-4191e078aeed>" %}

12. Go to Developer Dashboard -> WhatsApp -> API setup \
    From here copy/note all the following :&#x20;

* Phone Number ID(Production)
* WhatsApp Business Account ID(Production)

<figure><img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2F0FCFZmUlcqlhj7rnYbaS%2FUntitled%20design(5).png?alt=media&#x26;token=26bceff3-a219-4ddb-b2e2-ce240cd1b235" alt="" width="563"><figcaption></figcaption></figure>

* Permanent Access Token

***Do Not** copy access token from above page. Access token value mentioned* [*here*](#verification-of-access-token) *needs to be copied.*

Now you are all set to integrate WhatsApp with Orimon !

1. Log in to Orimon [Dashboard](https://app.orimon.ai/login) using your Google account/manual signup
2. Once logged in, you should see an overview icon for your bot. Click on it to go to the bot's overview page.
3. On the left, you will see a panel with a list of Configuration options. At the bottom you will see an option "**Channels**".

Now click on "**WhatsApp**" and enable it&#x20;

<figure><img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2FUt4hom6VSTHplHWMhAm0%2FUntitled%20design(6).png?alt=media&#x26;token=bafce094-797f-4c95-bf4e-a42a986a9a8e" alt="" width="563"><figcaption></figcaption></figure>

Now enter your **Phone Number ID**, **WhatsApp Business Account ID** & **Permanent Access Token**

Then click on "**Submit**"

You now see a pop-up like this.

<figure><img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2FfBvVzjqRrjcvSbRxFfCH%2FUntitled%20design(7).png?alt=media&#x26;token=67947e29-f125-4bf4-b21e-df0009b659ba" alt="" width="484"><figcaption></figcaption></figure>

Now confirm your WhatsApp profile details and click on "**Intergrate**"&#x20;

If your integration was successful you will see the following window.

<figure><img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2FOD4WiNNilQWxBVAws7Ak%2FUntitled%20design(8).png?alt=media&#x26;token=be132cb1-57fd-4fc1-a710-957bb52590e4" alt="" width="563"><figcaption></figcaption></figure>

Now copy the **callback URL** and **verify token** shown in the window.&#x20;

Go To Meta Developer Dashboard -> WhatsApp -> Configurations

<figure><img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2FiiA3dUnATvTnO7mPjVqz%2FScreenshot%20from%202023-07-20%2018-06-13.png?alt=media&#x26;token=940d4486-eb34-4e00-af2e-59c060c247f6" alt="" width="563"><figcaption></figcaption></figure>

Click on "**Edit**" and enter callback URL and verify token as shown below.&#x20;

<figure><img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2F4olaujxC09N86Dsi22OI%2FScreenshot%20from%202023-07-20%2018-14-03.png?alt=media&#x26;token=c07fc065-275e-4bfb-a496-165c0e5f9af5" alt="" width="450"><figcaption></figcaption></figure>

Click on "**Verify & Save**"&#x20;

Directly underneath this, in "**Webhook fields**" click on "**Manage**" and ensure your are subscribed to the following field(**Messages**).

<figure><img src="https://55912965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxUW02x9klXneNc1Bxtt6%2Fuploads%2FrEV6viRZZ9RAJfe2sALU%2FScreenshot%20from%202023-07-20%2018-22-31.png?alt=media&#x26;token=ffc8cec0-1454-43c0-ad9c-004c5bd880fe" alt="" width="563"><figcaption></figcaption></figure>

That's it! Your bot can now respond through WhatsApp.

{% embed url="<https://www.loom.com/share/43d9be9513b6488dbfa4e7143be165ff?sid=86352235-dd40-4f3f-9a55-944a007c479a>" %}
