HowTo: Set up Botmaker for Chatbots using WhatsApp

Official Content
This documentation is valid for:

Here you will find instructions to set up Botmaker to use WhatsApp as a messaging platform for the Chatbot generator.

Step 1 - Creating an account

First, create the account.


You will be asked to choose a channel to connect your Chatbot (you can change this later).


When selecting WhatsApp, you are asked to provide a phone number and the Facebook Business Manager ID. If you don't have it, Botmaker can help you get it.


Next, select the plan. 


Select to configure it on your own or to receive help from experts.


Finally, complete the form to finish the process.


Step 2 - Configuring inbound message webhooks

On the platform page, configure the URL that Botmaker sends a webhook to for inbound messages.

The Webhook is automatically generated by configuring in the KB the following properties:

It's generated under the instance's module, and its name is WhatsappWebhook.

After building it, configure the URL as follows:

http://<server>/<baseURL>/<InstanceModule>.WhatsappWebhook.aspx (.NET) or http://<server>/<baseURL>/<InstanceModule>.WhatsappWebhook (Java)

Note that the computer where the webhook is hosted has to be visible online:


Step 3 - Configuration settings

On the platform page, create the credentials: 

Capture_2020622114446_1_PNGOnce it is created, the access token will be shown there. This access token is JWT.