There are two prerequisites for installing a Whatsapp bot in the CSML Studio.
you MUST have a verified Facebook Business account
you MUST have a MessageBird account
In case you have any question on how to get started with these two topics, please redirect your questions to MessageBird's support, as CSML Studio only connects to MessageBird's APIs.
Once you have created a MessageBird account, you can immediately connect your bot in MessageBird's free Whatsapp "sandbox", which allows you to send and receive messages on Whatsapp for free and test your chatbot.
Only once your account has been approved by Facebook into the private beta of Whatsapp Business will you be able to connect your chatbot to your real Whatsapp Business account.
In your bot in CSML Studio, go to Channels > Connect a new channel, then select Whatsapp.
In the next screen, enter a name and description for your channel (it is purely informational and can be changed later) then add your MessageBird credentials. You will need 3 pieces of information:
The Channel ID will be given to you at the end of the setup process for the Whatsapp channel on MessageBird's dashboard.
If you are in Sandbox Mode, you need to scan the QR Code and initiate the conversation before you can get the Channel ID. In that case, leave the Sandbox Mode checkbox checked.
After you have completed this step, submit the new channel in CSML Studio and you are good to go! All messages sent from/to your Whatsapp number will be sent to your chatbot.