# WhatsApp Integration

**WhatsApp integration** allows Dentaltap to send and receive messages through your clinic’s official WhatsApp Businessaccount.

With this integration, you can:

* Send appointment reminders
* Confirm or reschedule visits
* Notify patients about treatment updates
* Communicate directly with patients inside Dentaltap

The integration works via the official Meta (Facebook) WhatsApp Business platform.

### Required Information

To complete the integration, you need to provide two IDs from your WhatsApp Business Manager:

#### Business Account ID

This is your **WhatsApp Business Account ID** (not your Facebook Business ID).

You can find it here:\
<https://business.facebook.com/latest/settings/whatsapp_account/>

On the example below the WhatsApp Business Account ID is: 1555\*\*\*\*\*\*\*\*\*\*11

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

#### Business Phone Number ID

This is the **Phone Number ID** assigned to your WhatsApp Business number (not the actual phone number).

You can find it here:\
<https://business.facebook.com/latest/whatsapp_manager/phone_numbers>

On the example below the WhatsApp Phone Number ID is: 956\*\*\*\*\*\*\*\*\*\*73

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

### Activate WhatsApp in Dentaltap

1. Open Settings -> Notifications page:\
   <https://app.dentaltap.com/en/p/settings/clinic/notifications>
2. Click on the "Chat" icon to coonect:\
   ![](/files/A3DWZwCuCNOQYAVE33y5)
3. Select "WhatsApp" and then go to next step to add details![](/files/LITwcOXQ5mUyO15fxwWR)
4. Enter your WhatsApp credentials obtained before - businessAccountId and businessPhoneNumberId, skip authToken, and click "Save Changes"\
   ![](/files/XLLbcztla6qHoNtzGTBb)

After, you will be redirected to Facebook login authorization to complete the integration.


---

# 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://dentaltap.gitbook.io/dentaltap/integrations/whatsapp-integration.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.
