> For the complete documentation index, see [llms.txt](https://help.novatalks.com.ua/en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.novatalks.com.ua/en/get-started/connecting_messengers/connecting_whatsapp_business.md).

# Connecting Whatsapp Business

To integrate WhatsApp Business with NovaTalks follow the next steps:

### **Create a Facebook Application**

To begin the integration process, you need to create a Facebook application:

1. Visit the [Facebook Developer Console](https://developers.facebook.com/apps/).
2. Click on **Create App** and follow the on-screen instructions.

<figure><img src="https://2498134934-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5yF7NRiGknx3Bqj4OgYA%2Fuploads%2FsODvjAsbpUzwLICM1Gse%2Fimage.png?alt=media&amp;token=ee4b3b19-4e7c-4752-a618-8d17fc600e1a" alt="" width="375"><figcaption></figcaption></figure>

3. Choose the **Business** option and click on the **Next** button.

<figure><img src="https://2498134934-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5yF7NRiGknx3Bqj4OgYA%2Fuploads%2FvsTYD9BS3mx8AJMEXl0j%2Fimage.png?alt=media&amp;token=1ebf3080-163d-4483-8282-55aa131d76e6" alt="" width="375"><figcaption></figcaption></figure>

4. Add an **app name, contact email and Business account** to complete creating process.&#x20;

<figure><img src="https://2498134934-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5yF7NRiGknx3Bqj4OgYA%2Fuploads%2FJwWCQdofKmfosIbBOyVp%2Fimage.png?alt=media&amp;token=3c637c01-c3fd-4d3d-9cdf-f35501ada9cc" alt="" width="375"><figcaption></figcaption></figure>

### Connect WhatsApp

After setting up your Facebook application:

1. Navigate to **WhatsApp** under the **Add Products to your app** section.
2. Select **Set Up** and follow the integration process.

<figure><img src="https://2498134934-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5yF7NRiGknx3Bqj4OgYA%2Fuploads%2FY4tDKpfbwFc1pEOSffzs%2Fimage.png?alt=media&amp;token=e0cf1281-454b-41eb-8b22-ab62a2b87bff" alt="" width="375"><figcaption></figcaption></figure>

### Register a Phone Number

To use WhatsApp Business API, you need to register a new phone number.

Follow the registration process in the Facebook Developer Console.

1. Click on the **Start using the API** button.

<figure><img src="https://2498134934-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5yF7NRiGknx3Bqj4OgYA%2Fuploads%2FpiBx0WwKrTu5Ikf8YOCD%2Fimage.png?alt=media&amp;token=41128f77-faa4-4037-9228-172183fd6f03" alt="" width="375"><figcaption></figcaption></figure>

2. From the opening window you should select **Add phone number.**

<figure><img src="https://2498134934-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5yF7NRiGknx3Bqj4OgYA%2Fuploads%2FY5jYVlezAGtxjZ2EUt50%2Fimage.png?alt=media&amp;token=78679df6-0a78-4311-8caf-3325cdda636c" alt="" width="375"><figcaption></figcaption></figure>

3. **Create a WhatsApp Business profile** - for this you should add **Display name** and **Description,** select the **Timezone** and **Category** from the dropdown menu.

<figure><img src="https://2498134934-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5yF7NRiGknx3Bqj4OgYA%2Fuploads%2FjvtIhdTNBzX0CfShxzOR%2Fimage.png?alt=media&amp;token=308063e0-d488-4fe4-86c0-65c9958db2ab" alt="" width="375"><figcaption></figcaption></figure>

4. Add the phone number and verify it using the OTP sent by WhatsApp.

<figure><img src="https://2498134934-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5yF7NRiGknx3Bqj4OgYA%2Fuploads%2Fi5i5YwMJQ9OSFR4VA0G0%2Fimage.png?alt=media&amp;token=3576322f-e702-48b8-b83d-0a5298f68013" alt="" width="375"><figcaption></figcaption></figure>

### Add a Webhook

A webhook is required for receiving messages and events:

1. Navigate to **Configure Webhooks.**

<figure><img src="https://2498134934-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5yF7NRiGknx3Bqj4OgYA%2Fuploads%2FCitVwMxL2bgO17KqjL7v%2Fimage.png?alt=media&amp;token=3773d674-9256-4663-ad30-c2cdd181ded8" alt="" width="375"><figcaption></figcaption></figure>

2. Click on the **Edit** button&#x20;

<figure><img src="https://2498134934-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5yF7NRiGknx3Bqj4OgYA%2Fuploads%2FvTRZ6Yeg1UCHjvD07JJ5%2Fimage.png?alt=media&amp;token=433a600f-0704-43a5-9f27-367bd389eeee" alt="" width="375"><figcaption></figcaption></figure>

3. Enter the **Webhook's Callback URL and token** provided by us.

<figure><img src="https://2498134934-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5yF7NRiGknx3Bqj4OgYA%2Fuploads%2FRGLnhUxoFKJVLmql5Fxk%2Fimage.png?alt=media&amp;token=0b088e60-6784-4a0b-a629-d953870bc17d" alt="" width="375"><figcaption></figcaption></figure>

### Approve the Company in Facebook Business Manager

To complete the setup:

1. Go to **Facebook Business Manager** and find your business page.
2. To submit your company for approval start verification process.

<figure><img src="https://2498134934-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5yF7NRiGknx3Bqj4OgYA%2Fuploads%2F6N0aPG1TNaKE30Wc8gKx%2Fimage.png?alt=media&amp;token=3de441a9-ba91-41f1-832d-c18d5d219a61" alt="" width="375"><figcaption></figcaption></figure>

3. After approving, it sends us **Number ID** and **Company Token**.

{% hint style="warning" %}
Company token will be temporary and will expire in 23 hours.

After confirmation of the company token becomes permanent.
{% endhint %}

<figure><img src="https://2498134934-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5yF7NRiGknx3Bqj4OgYA%2Fuploads%2FoQV3R9MGaO058bUb8pDG%2Fimage.png?alt=media&amp;token=8b55cae9-c814-47aa-87eb-f87ec922cb16" alt="" width="375"><figcaption></figcaption></figure>

These credentials are essential for finalizing the integration and ensuring smooth communication between WhatsApp and NovaTalks.
