Getting Started - WhatsApp Cloud API
In this guide, users can set up and authenticate the WhatsApp Business Cloud API.
Prerequisite for the connection
Developer Application
Meta Business Manager with the WhatsApp manager access.
Creation of the Meta Application
STEP-01: Create an app in the https://developers.facebook.com/apps/
STEP-02: Fill in the details on the App Details
App name
App contact email
STEP-03: Under Use cases, Filter by Business messaging, select Connect with customers with WhatsApp
STEP-04: Choose a business and in the overview, click on Go to dashboard
Create a System User and Generate a Permanent Access Token
The temporary access token you created to send the hello_world template message expires quickly and is not suitable for development purposes. So you should create a permanent token for use across the WhatsApp Business Platform.
Navigate to Business Settings and click System users in the sidebar.
Click the Add+ button in the upper-right corner and follow the prompts to create a new system user.
Select the new system user you created, and click Assign Assets.
Select your app and toggle Manage app under Full control.
Select your WhatsApp account and toggle Manage WhatsApp Business Accounts under Full control.
Click the Assign assets button.
Click Generate token.
Follow the prompts to generate your token.
Add the following permissions to the token:
Copy the token and store it in a secure place to be used in the later steps.