Give your customers a one-click way to link their WhatsApp number — the pairing QR rendered in your own UI, the bridge provisioned behind the scenes, zero WhatsApp branding. It's an afternoon of work on top of WA Bridges.
Every integration page has the same buttons: Connect Stripe, Connect Slack, Connect Google. The ones customers actually finish are the ones that never leave the product — click, authorize, done. WhatsApp can be one of those buttons.
With WA Bridges, "Connect WhatsApp" is three moves behind one click: provision a bridge for the customer, pull the pairing QR or link-code, and render it inside your own modal. The customer scans it with their phone, your backend hears the "connected" webhook, and the button flips to "Connected." No redirect, no WhatsApp logo, no support ticket. You build the flow once and every customer self-serves.
I want to add a "Connect WhatsApp" button to my web app so customers can pair their own WhatsApp number without leaving my UI, using WA Bridges. My stack: [React frontend + Node.js / Express backend — update to yours] My setup: - WA_API_KEY: my WA Bridges API key (server-side only, never in the browser) - Logged-in customers have an account id I'll use as customer_ref I need: 1. A POST /api/whatsapp/connect backend route. When the customer clicks the button, it calls POST /api/instances with their account id as customer_ref and my webhook_url, then returns the bridge id and the pairing QR to the frontend. Never expose WA_API_KEY to the browser. 2. A Reactcomponent that calls that route, opens a modal, and renders the QR. It should poll a lightweight status endpoint (or accept a pushed update) and flip to "Connected" once the bridge is paired. 3. A POST /webhook handler that updates the account's connection status when WA Bridges reports paired/disconnected, so the button reflects reality on the next load. Please read the WA Bridges API docs before writing any code: https://wabridges.com/docs.txt Keep WA Bridges fully invisible to the end user — the modal should look like part of my product. Show a clean "Reconnect" path for when a customer unlinks their phone.