Understanding WhatsApp Business Authentication
WhatsApp Business uses API key authentication with access tokens. The access token is a JWT or OAuth2 token that authorizes requests to the WhatsApp Business API.Generating Your Access Token
To generate an access token for WhatsApp Business:1
Create a Facebook Developer Account
If you don’t already have one, sign up for a Facebook Developer account.
2
Create a WhatsApp Business App
Create a new app in the Facebook Developer Portal and add the WhatsApp product to your app.
3
Generate Access Token
Follow Facebook’s guide to generate an access token for your WhatsApp Business app.
4
Configure in Nango
Once you have your access token:
- Go to the Integrations page in Nango
- Select your WhatsApp Business integration
- Add your access token as the API key
For production use, you’ll need to complete the WhatsApp Business API setup process, which may include business verification and phone number registration.
Additional Resources
- WhatsApp Business API Overview
- WhatsApp Business Authentication Guide
- How to generate an access token