WhatsApp Integration Setup

Learn how to integrate WhatsApp with your AI4Africa bot. Choose between Twilio, Meta Cloud API, or WAHA.

Choose Your Provider

Meta Cloud API

Official Cloud API direct from Meta. No on-prem server required.

Official & fully supported by Meta
No self-hosting or phone QR code
Scales to millions of messages

Recommended for production if you have a verified WhatsApp Business account.

Twilio (Recommended)

Official WhatsApp Business API provider with enterprise-grade reliability

Official WhatsApp Business API
Enterprise-grade reliability
24/7 support available

Recommended for businesses requiring reliable service and official support

WAHA

Connect using your existing WhatsApp account through WAHA server

Use existing WhatsApp account
No additional WhatsApp registration
Unofficial method (use with caution)

Suitable for testing or personal use. Not recommended for production.

Bailey AI4Africa

Available

Our custom WhatsApp automation solution built specifically for African businesses.

Easy setup and configuration
Built for African market needs

Get started with Bailey AI4Africa for reliable WhatsApp automation.

Setup Instructions

Twilio Setup

1. Twilio Account Setup

  1. Sign up for a Twilio account at twilio.com
  2. Navigate to the WhatsApp section in your Twilio Console
  3. Follow Twilio's verification process for WhatsApp Business API

2. Get Your Credentials

Account SID & Auth Token

Find these in your Twilio Console dashboard

WhatsApp Number

Your approved WhatsApp Business number

3. Configure Webhook

After creating your bot, you'll receive a webhook URL. just Copy and paste this URL to your Twilio WhatsApp configuration:

https://api.ai4africa.app/api/v1/whatsapp/webhook/[bot_id]

WAHA Setup

1. Server Setup

  1. Set up a server to host WAHA
  2. Install Docker on your server
  3. Pull and run the WAHA Docker image

2. WhatsApp Connection

After starting WAHA, you'll need to:

  1. Scan the QR code with your WhatsApp
  2. Wait for the connection to be established
  3. Copy your WAHA API token

Security Notice

WAHA provides unofficial access to WhatsApp. Use this method with caution and be aware of potential WhatsApp terms of service implications.

Troubleshooting

Common Issues

Webhook Not Receiving Messages

Verify your webhook URL is correct and your server is accessible from the internet

WAHA Connection Issues

Ensure your WAHA server is running and your WhatsApp is connected