- Home
- Skills
- APIs & Backend
- whatsapp-embedded-signup
Works with the AI tools you already use
Whatsapp Embedded Signup
Complete implementation guide for Meta WhatsApp Embedded Signup with FastAPI and Next.js.
$30
whatsapp-embedded-signup
Example session with this skill installed
Set up the backend handler to exchange the Meta OAuth code for a permanent system user token and subscribe the WABA to our webhook.
- Read your context and instructions
- Compiled the whatsapp-embedded-signup
The goal is to implement exchange_code_for_token and subscribe_waba_to_webhooks.
- Exchange
codeforaccess_tokenusing yourMETA_APP_SECRET. - Save the
waba_idandphone_number_id(indexed). - Call the
subscribed_appsendpoint using the new client-specific token.
Avoid await db.commit() inside tenant sessions; use flush() to prevent resetting the search path.
Connects securely to your tools. The creator never sees your data.
What you get
About this skill
The problem
Integrating Meta's WhatsApp Embedded Signup is notoriously error-prone, involving complex JavaScript SDK handshakes, server-side OAuth exchanges, and specific Meta Business Manager configurations that often fail silently or return cryptic errors.
What it does
- Provides a complete implementation pattern for both Coexistence mode and standard Cloud API flows.
- Enables server-side HMAC-SHA256 verification for mandatory Meta compliance webhooks.
- Implements a generic webhook routing system to handle multi-tenant message delivery via
phone_number_id. - Configures the Next.js frontend to capture the specific
window.postMessageevents required for reliable onboarding. - Solves specific PostgreSQL
search_pathbugs and multi-tenant session management issues during the connection lifecycle.
Frameworks & tools
FastAPI, Python, Next.js, React, Meta Graph API, PostgreSQL.
Why this beats prompting it yourself
Generic LLM prompts often miss the critical featureType parameters and Meta-specific event strings like FINISH_WHATSAPP_BUSINESS_APP_ONBOARDING that are poorly documented. This skill provides the battle-tested configuration values and backend routing logic needed to avoid the "JSSDK is disabled" and "code already used" errors that stall development.
Use cases
- Onboarding client WhatsApp Business Accounts directly from your SaaS dashboard.
- Enabling "Coexistence" so clients can use your platform and their mobile app simultaneously.
- Setting up required "Deauthorize" and "Data Deletion" endpoints for Meta App Review.
- Migrating clients from other BSPs (Twilio, MessageBird) to your own Tech Provider app.
Known limitations
Requires an approved Meta Tech Provider status and an app in production mode. Coexistence mode availability depends on the quality and history of the client's phone number.
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean 3 months ago
- Passed all security checks, Safe to install