Video transcript
Video transcript
In this tutorial, I’ll show you how to connect your SiteSpeakAI chatbot to WhatsApp Business, so it can answer customer messages on WhatsApp automatically. WhatsApp is available on our Pro Plus and Business plans.Before you can connect your agent to WhatsApp, you need to create and train it. After you log in to SiteSpeak, you land on the Get Started page, which walks you through it in five quick steps. First, give your agent a name. This is the name your visitors will see when they chat with it. Click Save and Continue to create the agent. Next, add the website you want your agent to learn from. For this example I’ll use snapwidget.com. Click Save and Continue, and SiteSpeak crawls the site to find pages it can train on. In a few seconds, it finds the main pages on the site. SiteSpeak selects those pages for you. Click Save and Continue to train your agent on them. SiteSpeak now trains your agent on that content automatically. Once it finishes, your agent is ready to answer questions, and you can connect it to WhatsApp.Now let’s connect your agent to WhatsApp. Head to developers.facebook.com and log in, then create a new app. Give it a name, and under Add Use Cases, filter by Others and choose Other. Click Next. Select the Business app type, then click Next and create your app. In your app dashboard, scroll down to Add products and click Set up on the WhatsApp card. You’ll be asked to select or create a Meta Business account, which the WhatsApp API requires. Open the API Setup page, click Add phone number, and verify it with the code Meta sends you by SMS or call. While you’re here, copy your Phone Number ID shown below the number. You’ll need it in a moment.Back in SiteSpeak, open Deploy and Install and click the WhatsApp tab. Paste in your Phone Number ID, your permanent access token, which you generate from a System User in Meta Business Settings, and your App Secret from App Settings, Basic. Then click Connect, and SiteSpeak gives you a Webhook URL and a Verify Token. Now configure the webhook back in Meta. Go to WhatsApp, then Configuration, and paste in the Webhook URL as the Callback URL and the Verify Token. Click Verify and save. Finally, under Webhook fields, find the messages field and click Subscribe. Send a message to your WhatsApp Business number to test it, and your agent will reply automatically.And that’s it. Your SiteSpeakAI agent is now connected to WhatsApp Business, trained on your content and ready to answer your customers around the clock.
WhatsApp integration is available on Pro Plus and Business plans.
Prerequisites
Before you begin, you’ll need:- A Meta Business account (free to create)
- A phone number that can receive SMS or voice calls for verification
- A SiteSpeakAI Pro Plus or Business plan
Set Up Meta Developer App
1
Create a Meta Developer account
Go to developers.facebook.com and log in with your Facebook account. If you don’t have a developer account, you’ll be prompted to create one.
2
Create a new app
Click My Apps in the top right, then Create App. Give it a name (e.g., “My Business WhatsApp Bot”), and click Next. Under Add Use Cases filter by Others, then select Other. Click Next.

3
Select an app type
Select the Business app type and click Next. Then select Create App on the next screen.

4
Add WhatsApp product
In your app dashboard, scroll down to Add products and click Set up on the WhatsApp card.

5
Select or create a Meta Business Account
You’ll be prompted to select an existing Meta Business Account or create a new one. This is required to use the WhatsApp Business API.
6
Add a phone number
In the WhatsApp section of your app, go to API Setup. Click Add phone number and follow the verification process. You’ll receive a code via SMS or voice call.

Get Your API Credentials
Once your phone number is verified, you’ll need three pieces of information from the Meta Developer dashboard:1
Get your Phone Number ID
In WhatsApp > API Setup, find your verified phone number. The Phone Number ID is displayed below the number (a long numeric string like
123456789012345).2
Generate a Permanent Access Token
By default, Meta provides a temporary access token that expires in 24 hours. For production use, you need a permanent token:
- Go to Business Settings at business.facebook.com/settings
- Navigate to Users > System Users
- Click Add to create a new system user (if you don’t have one)
- Give it a name like “WhatsApp API” and select Admin role
- Click Add Assets, select your WhatsApp app, and enable Full control
- Click Generate new token, select your app, and check
whatsapp_business_messagingandwhatsapp_business_management - Copy the generated token - this is your permanent access token
3
Get your App Secret
Go back to your app in the Meta Developer Dashboard. Navigate to App settings > Basic. Click Show next to the App Secret field and copy it.
Connect to SiteSpeakAI
1
Go to Deploy & Install
In your SiteSpeakAI dashboard, select your chatbot and go to Deploy & Install.
2
Select WhatsApp
Click on the WhatsApp tab.
3
Enter your credentials
Fill in the three fields:
- Phone Number ID - The numeric ID from Meta’s API Setup page
- Access Token - Your permanent access token from the system user
- App Secret - Your app secret from App Settings > Basic

4
Click Connect
Click the Connect button. SiteSpeakAI will generate a Webhook URL and Verify Token for you.
Configure the Webhook in Meta
After connecting in SiteSpeakAI, you need to configure the webhook in your Meta Developer App:1
Go to WhatsApp Configuration
In your Meta Developer App, navigate to WhatsApp > Configuration.
2
Enter the webhook details
- Callback URL: Paste the Webhook URL from SiteSpeakAI
- Verify token: Paste the Verify Token from SiteSpeakAI

3
Subscribe to messages
Navigate back to WhatsApp > Configuration. Under Webhook fields, find the 
messages field and click Subscribe.
Test Your Integration
Send a message to your WhatsApp Business number from any WhatsApp account. Your SiteSpeakAI chatbot should respond automatically.During development, you can only send messages to phone numbers that have been added as test numbers in your Meta app. To message any WhatsApp user, you’ll need to complete Meta’s business verification process.
Troubleshooting
Messages not being received
- Verify that the webhook URL is correctly configured in Meta
- Check that you’ve subscribed to the
messageswebhook field - Ensure your access token hasn’t expired (use a permanent system user token)
Messages not being sent
- Check that your access token has the
whatsapp_business_messagingpermission - Verify the phone number ID is correct
- Check the SiteSpeakAI conversation logs for any error messages
Webhook verification failing
- Make sure the Verify Token in Meta matches exactly what SiteSpeakAI generated
- Ensure there are no extra spaces before or after the values
- Try disconnecting and reconnecting in SiteSpeakAI to generate new credentials
Going Live
To send messages to any WhatsApp user (not just test numbers), you’ll need to:- Complete Business Verification - Verify your business in Meta Business Settings
- Request Production Access - In your app’s WhatsApp settings, request to go live
- Add a Payment Method - WhatsApp Business API charges per conversation (first 1,000 conversations per month are free)
Ready to automate your customer service with AI?
Join over 1000+ businesses, websites and startups automating their customer service and other tasks with a custom trained AI agent.