Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Whatsapp Embedded Signup

    1

    Complete implementation guide for Meta WhatsApp Embedded Signup with FastAPI and Next.js.

    $30

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    whatsapp-embedded-signup

    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.

    1. Exchange code for access_token using your META_APP_SECRET.
    2. Save the waba_id and phone_number_id (indexed).
    3. Call the subscribed_apps endpoint 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.

    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.postMessage events required for reliable onboarding.
    • Solves specific PostgreSQL search_path bugs 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.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.

    • Requires Meta Tech Provider status and production mode.
    • Coexistence mode support varies by phone number history.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 5 months ago

    Software
    ngrokNode.js

    Permissions

    Terminal / Shell
    Network Access
    Environment Variables
    Listed5 months ago

    What's inside

    Frequently Asked Questions

    This skill provides a complete implementation pattern for the Meta WhatsApp Embedded Signup flow, solving common integration hurdles like complex OAuth handshakes, HMAC-SHA256 webhook verification, and the specific event listeners needed for Next.js/React frontends.

    The package includes a FastAPI backend structure for server-side exchanges, a Next.js frontend implementation for the Meta JSSDK handshake, and the specific database routing logic required for multi-tenant 'phone_number_id' management.

    Yes, it includes the specific configuration and logic required to facilitate Coexistence mode, allowing your clients to use both your platform and their mobile WhatsApp Business app simultaneously.

    You will need an active Meta Developer account, an app in production mode with 'Tech Provider' status, and a PostgreSQL database to manage the multi-tenant session and webhook data.

    This skill is designed as a technical framework for Python/FastAPI and Next.js environments and can be integrated into any AI agent or SaaS platform built on these stacks to automate WhatsApp onboarding.

    It specifically addresses the 'JSSDK is disabled' and 'code already used' errors by implementing the correct sequence of Meta-specific event strings and featureType parameters that are often missing from standard documentation.

    New in APIs & Backend