Skip to main content
The package ships ESM, CommonJS, and bundled TypeScript types — no extra @types needed.

CDN

Production — pin to an exact version and add Subresource Integrity (SRI):
The integrity hash for each release is published in the build’s integrity.json (or request it from Connexease). When you pin a version, always add the matching integrity + crossorigin="anonymous" so the browser rejects a tampered file.
Render the connect button and launch the WhatsApp Business onboarding flow in a few lines of code. This is the whole frontend integration: call init() once, then call launch() from your button’s click handler. The only server-side piece you need is the /api/session proxy.
With debug: true, the SDK logs each internal step event of the flow to the browser console so you can watch it progress while developing. It does not log the final result. The connected account details (and any error or cancel) are delivered only through the onSuccess / onError / onCancel callbacks — that’s how your code actually receives the data to save it, update the UI, or show an error.
Looking for framework-specific setups? See Framework Examples for Vanilla JS, React / Next.js, and Vue.js.
The only server-side piece you need is the /api/session proxy — see Backend Integration.