1. Sign in to Easy-Peasy.AI and Create Your Bot:
- Make sure you have access to your Easy-Peasy.AI account. If you don’t have one, create an account.
- Set up your bot by uploading files, text, websites, or Q&As.
2. Find the WhatsApp Integration Option:
- Go to the Bots page – https://easy-peasy.ai/bots
- Click on the “Integrations” link in the left Sidebar menu.
- Click “Connect” on the “WhatsApp” card to initiate the integration process.
- Follow the below steps to connect your WhatsApp business account to Easy-Peasy.AI.
Step 2: Setting Up Meta (Facebook) Business Account and App
1. Create a Meta (Facebook) Business Account:
- Visit here.
- Enter your business name, your name, and work email address. Click “Next”.
- Provide your business details and click “Submit”.
- Enter your business details and click “Submit”.
![](https://easy-peasy.ai/cdn-cgi/image/quality=85,format=auto,width=800/https://main.webdjstudio.com/wp-content/uploads/2024/04/06edfbfe1cb711e64a0ed8154cc9b172093d2694-1900x923-1.webp)
2. Create a new Meta (Facebook) App at https://developers.facebook.com/.
- “Log in” to your Meta (Facebook) Developer Account.
![](https://easy-peasy.ai/cdn-cgi/image/quality=85,format=auto,width=800/https://main.webdjstudio.com/wp-content/uploads/2024/04/ea99944ee8301b5aecd417be1cee02921de5e0c5-1898x927-1.webp)
- Select “My Apps”.
![](https://easy-peasy.ai/cdn-cgi/image/quality=85,format=auto,width=800/https://main.webdjstudio.com/wp-content/uploads/2024/04/702075919088b5e5582313861d1500e597b6ac45-1897x372-1.webp)
- Click “Create App”
![](https://easy-peasy.ai/cdn-cgi/image/quality=85,format=auto,width=800/https://main.webdjstudio.com/wp-content/uploads/2024/04/create-meta-app-1024x431.png)
- Choose User Case: “Other” and click “Next”.
![](https://easy-peasy.ai/cdn-cgi/image/quality=85,format=auto,width=800/https://main.webdjstudio.com/wp-content/uploads/2024/04/create-app-meta.webp)
- Choose App Type: “Business” and click “Next”.
![](https://easy-peasy.ai/cdn-cgi/image/quality=85,format=auto,width=800/https://main.webdjstudio.com/wp-content/uploads/2024/04/meta-business-app.webp)
- Provide app details: App Name, App Contact Email, Business Account (Optional), and click “Create app“.
![](https://easy-peasy.ai/cdn-cgi/image/quality=85,format=auto,width=800/https://main.webdjstudio.com/wp-content/uploads/2024/04/7ef4f71dd2e00bfee8400e980813dcf8cc79b237-1900x639-1.webp)
Step 3: Setting Up Meta (Facebook) App for WhatsApp Integration
1. Add WhatsApp to your Meta (Facebook) App.
- In the “Developers Dashboard”, choose your app.
- Locate “Add products to your app” in your app’s dashboard tab.
![](https://easy-peasy.ai/cdn-cgi/image/quality=85,format=auto,width=800/https://main.webdjstudio.com/wp-content/uploads/2024/04/add-product-to-your-app-1024x667.png)
- Choose “WhatsApp” for setup.
![](https://easy-peasy.ai/cdn-cgi/image/quality=85,format=auto,width=800/https://main.webdjstudio.com/wp-content/uploads/2024/04/add-whatsapp-1024x440.png)
- Select your Meta (Facebook) Business Account (if not selected in step 2).
- Navigate to App settings > Basic from the sidebar
- Set the Privacy Policy URL to https://easy-peasy.ai/privacy-policy or yor own Privacy Policy URL if you have one.
![](https://easy-peasy.ai/cdn-cgi/image/quality=85,format=auto,width=800/http://main.webdjstudio.com/wp-content/uploads/2024/04/add-privacy-policy-1024x402.png)
- Save changes.
- Set App Mode to Live.
![](https://easy-peasy.ai/cdn-cgi/image/quality=85,format=auto,width=800/https://main.webdjstudio.com/wp-content/uploads/2024/04/live-mode-1024x309.png)
Step 4: Generate WhatsApp Token
To obtain a permanent WhatsApp Access Token, follow 1 to 3 steps:
1. Create a “System User”:
- Visit the Meta Business Suite.
- Find your business account in the top-left dropdown menu and click its Settings (gear) icon.
- Click Business Settings.
![](https://easy-peasy.ai/cdn-cgi/image/quality=85,format=auto,width=800/https://main.webdjstudio.com/wp-content/uploads/2024/04/Business-settings-1024x572.png)
- Go to Users > System users.
![](https://easy-peasy.ai/cdn-cgi/image/quality=85,format=auto,width=800/https://main.webdjstudio.com/wp-content/uploads/2024/04/system-user-1024x528.png)
- Add an Admin system user.
![](https://easy-peasy.ai/cdn-cgi/image/quality=85,format=auto,width=800/https://main.webdjstudio.com/wp-content/uploads/2024/04/add-system-user-1024x854.png)
2. Add Assets.
- After creating the system user, click on Add Assets.
![](https://easy-peasy.ai/cdn-cgi/image/quality=85,format=auto,width=800/https://main.webdjstudio.com/wp-content/uploads/2024/04/assign-assets-meta-business-1024x464.png)
- Navigate to Apps > “Your app name“.
- Select your app and grant full control to manage the app.
![](https://easy-peasy.ai/cdn-cgi/image/quality=85,format=auto,width=800/https://main.webdjstudio.com/wp-content/uploads/2024/04/full-controll-1024x624.png)
3. Generate System User Access Tokens.
- Click the Generate New Token button on the system user.
![](https://easy-peasy.ai/cdn-cgi/image/quality=85,format=auto,width=800/https://main.webdjstudio.com/wp-content/uploads/2024/04/generate-new-token-meta-business-1024x438.png)
- Choose the app that will use the token and set the token expiration to never.
- Select “whatsapp_business_messaging” and “whatsapp_business_management” permissions.
![](https://easy-peasy.ai/cdn-cgi/image/quality=85,format=auto,width=800/https://main.webdjstudio.com/wp-content/uploads/2024/04/generate-new-whatsapp-token-763x1024.png)
- Generate the token.
- Copy the access token and store it securely.
4. Add a new Business Number for WhatsApp
- You can use your own business number or utilize the provided test number for your WhatsApp chatbot.
- In WhatsApp Developer Dashboard, navigate to WhatsApp > API Setup from the sidebar.
![](https://easy-peasy.ai/cdn-cgi/image/quality=85,format=auto,width=800/https://main.webdjstudio.com/wp-content/uploads/2024/04/whatsapp_api-setup_meta-business-1024x748.png)
- Proceed to “Step 5: Add a Phone Number,” click Add phone number.
![](https://easy-peasy.ai/cdn-cgi/image/quality=85,format=auto,width=800/https://main.webdjstudio.com/wp-content/uploads/2024/04/add-phone-number-whatsapp-meta-1024x420.png)
- Provide details required in the following form.
![](https://easy-peasy.ai/cdn-cgi/image/quality=85,format=auto,width=800/https://main.webdjstudio.com/wp-content/uploads/2024/04/phone-details-1024x662.png)
- Verify your number using the received code.
- Once successfully added, select your phone number in Step 1 of API Setup.
![](https://easy-peasy.ai/cdn-cgi/image/quality=85,format=auto,width=800/https://main.webdjstudio.com/wp-content/uploads/2024/04/phone-number-select-1024x481.png)
5. Add a Payment Method
- To send messages via WhatsApp, you need a valid payment method. Visit here for details.
- After adding your business phone number, click “Add payment method” to address the “Missing valid payment method” alert.
![](https://easy-peasy.ai/cdn-cgi/image/quality=85,format=auto,width=800/https://main.webdjstudio.com/wp-content/uploads/2024/04/payment-method-whatsapp-meta-1024x626.png)
- You’ll be directed to your WhatsApp account settings. Click “Payment Methods” > “Add business payment method” and follow the prompts to add your card info.
6. Test your new Business Number for WhatsApp
- Return to WhatsApp Developer Dashboard, navigate to API Setup > Step 1.
- Enter a testing “To” number.
- Click “Send message” to verify successful message delivery.
![](https://easy-peasy.ai/cdn-cgi/image/quality=85,format=auto,width=800/https://main.webdjstudio.com/wp-content/uploads/2024/04/test-whatsapp-bot-1024x709.png)
Step 5: Configure WhatsApp API Webhook settings
1. Verify WhatsApp Webhook Callback.
- In WhatsApp Developer Dashboard, navigate to Configuration.
- Under Webhook, click edit
![](https://easy-peasy.ai/cdn-cgi/image/quality=85,format=auto,width=800/https://main.webdjstudio.com/wp-content/uploads/2024/04/webhook-whatsapp-bot-1024x515.png)
- Copy the Callback URL from Easy-Peasy.AI WhatsApp Integration modal to your WhatsApp Developer Dashboard. And set any Verify Token (minimum 8 symbols are recommeded) to both Easy-Peasy.AI modal and Meta’s Webhook’s callback URL modal.
![](https://easy-peasy.ai/cdn-cgi/image/quality=85,format=auto,width=800/https://main.webdjstudio.com/wp-content/uploads/2024/04/whatsapp-easy-peasy-ai-webhook-bot-1024x728.png)
![](https://easy-peasy.ai/cdn-cgi/image/quality=85,format=auto,width=800/https://main.webdjstudio.com/wp-content/uploads/2024/04/meta-verify-token-whatsapp-1024x426.png)
- Click Verify and save
2. Configure Webhook Subscription Field
- Under “Webhook Fields,” click Manage.
![](https://easy-peasy.ai/cdn-cgi/image/quality=85,format=auto,width=800/https://main.webdjstudio.com/wp-content/uploads/2024/04/webhook-fields-meta-whatsapp-1024x406.png)
- Find the “messages” field and subscribe to it by checking the box.
![](https://easy-peasy.ai/cdn-cgi/image/quality=85,format=auto,width=800/https://main.webdjstudio.com/wp-content/uploads/2024/04/messages-webhook-field-1024x587.png)
Step 6: Add WhatsApp Account to your Easy-Peasy.AI Bot
1. Retrieve WhatsApp Account Information
- Copy your Phone Number ID into the Easy-Peasy.ai’s WhatsApp Integration modal.
![](https://easy-peasy.ai/cdn-cgi/image/quality=85,format=auto,width=800/https://main.webdjstudio.com/wp-content/uploads/2024/04/copy-whatsapp-business-number-1024x650.png)
- Paste the permanent access token generated from Step 4.3 in integration modal in WhatsApp Access Token.
![](https://easy-peasy.ai/cdn-cgi/image/quality=85,format=auto,width=800/https://main.webdjstudio.com/wp-content/uploads/2024/04/access-token-whatsapp-easy-peasy-ai-1024x710.png)
- Click Save to complete integration.
Step 7: Confirm Integration Completion
Congratulations! Your chatbot is now ready to assist clients via your WhatsApp number.
You can enable, disable, or edit your WhatsApp integration settings as needed.