This is a step-by-step guide on how to connect your WhatsApp Cloud API to your application.
Once you have completed the application installation and created an account or a new team, you will be presented with the WhatsApp Setup page, as seen below. Follow the steps below to complete the integration.
You will need to create a meta business app. If you already have an app you want to use, you can skip and proceed to step 3.Learn to create a business app here
From your app dashboard, select WhatsApp -> Configuration, and enter the callback URL and verify token values from your application’s WhatsApp setup page (this page is shown in the first image above).
On the same page, locate the “Webhook fields”, then click the “Manage” button. This will open a popup to select the fields. Please choose all the fields (you may need to scroll down as well), and then click “Done.”
Under WhatsApp -> API Setup, you will find your WhatsApp Business Account ID.
Copy your WhatsApp Business Account ID and enter it into the “WhatsApp Business Account ID” field as shown below.
The process of creating a permanent access token is explained in detail in the Facebook Docs Here.Once you have the permanent access token, enter it in the “Permanent Access Token” field.