# Whatsapp

The current version requires you to register your product manually.

First, go to 'Add Product' settings for WhatsApp, and then follow the steps below.

<figure><img src="https://docs.dmflow.chat/~gitbook/image?url=https%3A%2F%2F3496017944-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FQmub5EsobLbLj4OPaUUl%252Fuploads%252FdQT0bGTnjMlaDCf29fQh%252Fimage.png%3Falt%3Dmedia%26token%3D9d4c3342-9a50-43b8-8395-c61c3781d491&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=8e001034&#x26;sv=2" alt=""><figcaption></figcaption></figure>

Go to 'development' to create WhatsApp.

<figure><img src="https://docs.dmflow.chat/~gitbook/image?url=https%3A%2F%2F3496017944-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FQmub5EsobLbLj4OPaUUl%252Fuploads%252FqA7QUCkYhnOY98Nzegnh%252Fimage.png%3Falt%3Dmedia%26token%3D62584cf6-c51e-480a-860f-e6944923ba65&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=d034348e&#x26;sv=2" alt=""><figcaption></figcaption></figure>

<figure><img src="https://docs.dmflow.chat/~gitbook/image?url=https%3A%2F%2F3496017944-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FQmub5EsobLbLj4OPaUUl%252Fuploads%252F8OXSDhzFCfkgFMU40JGV%252Fimage.png%3Falt%3Dmedia%26token%3D44d5688e-5174-4c78-9886-ece1ba2d3059&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=65e6317a&#x26;sv=2" alt=""><figcaption></figcaption></figure>

For testing, you can use a test phone number. Please note that the test phone number must be the recipient's phone number for the user to receive messages. Also, record the phone number code and the WhatsApp Business account number.

<figure><img src="https://docs.dmflow.chat/~gitbook/image?url=https%3A%2F%2F3496017944-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FQmub5EsobLbLj4OPaUUl%252Fuploads%252FvFe2zSf4ZASiYkeVT8jD%252Fimage.png%3Falt%3Dmedia%26token%3D49281440-6546-4c36-be07-5f48cbbd4ceb&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=a5edd81d&#x26;sv=2" alt=""><figcaption></figcaption></figure>

The access token above is temporary and will expire in approximately 24 hours. The following tutorial will show you how to obtain a permanent access token.

Go to <https://business.facebook.com/settings>, and then find 'System users' and click on it."

<figure><img src="https://docs.dmflow.chat/~gitbook/image?url=https%3A%2F%2F3496017944-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FQmub5EsobLbLj4OPaUUl%252Fuploads%252FtQWwr4EDpSXGpay0MeAH%252Fimage.png%3Falt%3Dmedia%26token%3D0d582368-d095-49a2-83ac-4c673070bb6f&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=4e8246e2&#x26;sv=2" alt=""><figcaption></figcaption></figure>

On the user side, select 'System Users' and click 'Add'.

<figure><img src="https://docs.dmflow.chat/~gitbook/image?url=https%3A%2F%2F3496017944-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FQmub5EsobLbLj4OPaUUl%252Fuploads%252FAirSAmD0cvQIAyj4Wrcl%252Fimage.png%3Falt%3Dmedia%26token%3D147e2934-b260-44ad-8cfb-70f2775ae8b1&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=fe173e52&#x26;sv=2" alt=""><figcaption></figcaption></figure>

Enter a username and select either 'admin' or 'employee' for the role.\
Click 'Assign assets'.

<figure><img src="https://docs.dmflow.chat/~gitbook/image?url=https%3A%2F%2F3496017944-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FQmub5EsobLbLj4OPaUUl%252Fuploads%252FcXQZzhBd5B0Gw4HY7kmx%252Fimage.png%3Falt%3Dmedia%26token%3Debd57948-a29a-49a1-9eae-b9cfbef27e2d&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=6f8b8ee6&#x26;sv=2" alt=""><figcaption></figcaption></figure>

Select the app you want, and set 'Full control' to 'Manage app'."

<figure><img src="https://docs.dmflow.chat/~gitbook/image?url=https%3A%2F%2F3496017944-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FQmub5EsobLbLj4OPaUUl%252Fuploads%252FUVM6Qs4ZxGvE2bWYQUuZ%252Fimage.png%3Falt%3Dmedia%26token%3Dc5c7850f-306c-49b6-9996-ff01f171d230&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=62928e3d&#x26;sv=2" alt=""><figcaption></figcaption></figure>

After completing the addition, click 'Generate New Token' to finish.

<figure><img src="https://docs.dmflow.chat/~gitbook/image?url=https%3A%2F%2F3496017944-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FQmub5EsobLbLj4OPaUUl%252Fuploads%252FI6cpCEQgH4phyegVsKze%252Fimage.png%3Falt%3Dmedia%26token%3D474c4e39-b6df-4859-8f0f-801124c04fc3&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=12366140&#x26;sv=2" alt=""><figcaption></figcaption></figure>

<figure><img src="https://docs.dmflow.chat/~gitbook/image?url=https%3A%2F%2F3496017944-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FQmub5EsobLbLj4OPaUUl%252Fuploads%252FJ4BU51JgPVJauqyEAvXB%252Fimage.png%3Falt%3Dmedia%26token%3Daa34bd10-fc88-4747-866b-1535062d65b1&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=8e2affdf&#x26;sv=2" alt=""><figcaption></figcaption></figure>

<figure><img src="https://docs.dmflow.chat/~gitbook/image?url=https%3A%2F%2F3496017944-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FQmub5EsobLbLj4OPaUUl%252Fuploads%252FRsamqMnSHTIcDLoFr9on%252Fimage.png%3Falt%3Dmedia%26token%3Da84270de-b4fd-4cfc-8c7a-776923ae7e7d&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=f770f810&#x26;sv=2" alt=""><figcaption></figcaption></figure>

<figure><img src="https://docs.dmflow.chat/~gitbook/image?url=https%3A%2F%2F3496017944-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FQmub5EsobLbLj4OPaUUl%252Fuploads%252FZXwHEilu7sjm7e13pOCF%252Fimage.png%3Falt%3Dmedia%26token%3D721b0d24-f104-4adb-b7ef-a9eb2c024b91&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=2ed6374b&#x26;sv=2" alt=""><figcaption></figcaption></figure>

Place the obtained Token into \[6] in the image below. Fill in the WhatsApp Business account number obtained earlier in \[1], the phone number code in \[2]. \[3] and \[4] can refer to the non-hosted section of Facebook, used to verify if it's from the WhatsApp payload. \[5] is where you can set your own verification code, the more complex, the better. And you're done.

<figure><img src="https://docs.dmflow.chat/~gitbook/image?url=https%3A%2F%2F3496017944-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FQmub5EsobLbLj4OPaUUl%252Fuploads%252FSMhC3qunPVAeHeHbsgX4%252Fimage.png%3Falt%3Dmedia%26token%3D2b930dc5-e081-420a-9b83-eb6faf02c8d6&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=6886334d&#x26;sv=2" alt=""><figcaption></figcaption></figure>


---

# 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-en.dmflow.chat/channel/whatsapp.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.
