How to Integrate WhatsApp Meta API with AI Chatbot – AIHelpTeam.com
By : umoh 25 January 2025 9:50 amIntegrating WhatsApp Meta API with an AI chatbot can help businesses automate customer support and messaging. With WhatsApp Meta API, businesses can integrate AI-powered chatbots to handle queries, process orders, and improve engagement.
In this guide, we’ll show you how to set up WhatsApp Business API, configure WhatsApp Cloud API, and connect it to an AI chatbot using AIHelpTeam.com. You’ll also learn how to create a WhatsApp app on Facebook Developer and set up the WhatsApp Messaging API for smooth communication. Follow these steps to get started quickly and improve your customer interactions.
1. Log in to Facebook for Developers or Create a Facebook Developer Account
- Visit developers.facebook.com and log in with your Facebook account.
- If you don’t have a developer account, follow the on-screen instructions to create one.
2. Create a New App:
- Select "My Apps" from the top right corner of the page dropdown.
- Then click "Create App" and fill the form, following the steps below:
- App details: App name and App contact email
- Under Use Cases: Choose OTHER under Used Cases ( for whatsapp and more)
- Under Select an App Type: select BUSINESS.
- Under Details: Add your App Name and contact email. Under the Business portfolio select your Business portfolio or leave it empty for Meta to automatically create for you, using your name
3. Add WhatsApp to Your App:
After creating the app, you’ll be redirected to the App Dashboard.
- Under the list of Products, select WhatsApp and click "Set Up".
4. Configure WhatsApp Settings in the WhatsApp Business API Page
Once you click Set Up from the step 3 above the WhatsApp Business Platform API pops up
- Select a business portfolio and link your Business
- Click Continue to complete the setup.
5. Register a Phone Number for WhatsApp Cloud API
- After clicking continue from step 4 above, you are taken to this API Setup page
Click on Start Using The API button
- Add a New Phone Number For Your Whatsapp Cloud AI Autamation ( Phone number must not be linked to any whatsapp account):
On the API Setup page, on Step 1: Select phone numbers, click the Test number: +15551431775 in the dropdown select add phone number
It opens into the form below.
Fill the form with your correct and accurate business information and add a phone number that has not been used on whatsapp for verification
6. Add Your Payment Method
Immediated you finalise step 5 above, you will be redirected here where you will need to click on add payment method
Click the below Payment Settings button to add your card details as payment option. For Nigerians if your bank card is not accepted by Meta, then you may use the Grey Card. It accepts all kind of international payments
7. Complete Business Verification (Optional)
While business verification is not mandatory, it enhances your API capabilities, including higher messaging limits and business name visibility
Although, completing your business verification on Meta is important but not compulsory. However, you won't be able to access certain features like higher messaging limits and your business name might not display properly in the WhatsApp app for customers.
To verify your business on Meta, find the business verification link on the same page as step 6 above
Integrating WhatsApp Meta API with AIHelpTeam.com AI Chatbot
To successfully integrate the WhatsApp Messaging API on AIHelpTeam, Follow the specific steps below:
- Whatsapp webhook listener
- Whatsapp webhook verify token
- Permanant Whatsapp Access Token
- Whatsapp Phone Number ID
1. Whatsapp Webhook Listener
Your unique Whatsapp webhook listener ( See image tagged 1) is automatically provided for you on your AIHelpTeam whatsapp settings after subscription.
You will have to copy this code correctly into your facebook whatsapp webhook callback URL row
STEPS:
- Go to facebook.developer.com - Dashboard
- Whatsapp - Configuration - Callback URL
- Copy your webhook listener from your AIHelpTeam account and paste on the Callback URL
2. Whatsapp Webhook Verify Token
You will need to type and save a new 10 character long Verify Token in your AIHelpTeam whatsapp settings and save it.
After which you will have to copy this Verify Token correctly into your facebook whatsapp webhook verify token row and save it
STEPS:
- Create, save and copy your unique 10 character Verify token from your AIHelpTeam
- Go to facebook.developer.com - Dashboard
- Whatsapp - Configuration - Verify Token ( Under callback URL. See Image above)
- Paste your copied Verified Token here and save
3. Permanant Whatsapp Access Token
To generate a permanent access token which you will need to input into your AIHelpTeam whatsapp settings follow the steps below:
STEPS:
- Go to Business Settings.
- Select the business account your app is associated with.
- Below Users, click System Users.
- Click Add.
- Name the system user, choose Admin as the user role, and click Create System User.
- Select the whatsapp_business_messaging permission.
- Click Generate New Token.
- Copy the permanent whatsapp access token and paste it on your AIHelpTeam.com Whatsapp Settings
4. Whatsapp Phone Number ID
Your phone ID is not your actual phone number but the ID assigned to your registered phone number on the whatsapp API. Its directly under your phone number in your facebook.developer >> Whatsapp >> API Setup page.
No Comments