Tagada Rx with the Headless SDK
Running your storefront on your own hosting (Vercel, Netlify, Shopify headless, an AI-generated site)? The Headless SDK ships a first-classtagada.rx module that mirrors the public storefront endpoints — no API key in the browser, ever.
Auth model: there is no key.
isRequiredForProduct is public; the case routes prove ownership with the (orderId, checkoutToken) pair your checkout flow already holds. PHI transits to the clinical network and is never persisted by Tagada.The three calls
1. Is this an Rx product?
2. Submit the case after payment
Run your normal headless checkout (tagada.checkout + tagada.payment). Once the order is paid:
3. Poll status on the thank-you page
Full example: React thank-you page
Install the same Funnel v2 (CRM canvas)
A headless build still needs the six-step Funnel v2 so operators see landing, quiz, checkout, offer, thank-you, and portal in the CRM. Create it with the Node SDK (API key, server-side) — the browser SDK only runs the bricks. Working example:rx-storefront/
in tagada-examples. pnpm seed
calls tagada.funnels.create with this graph; you can also import
funnel.bundle.json
from Funnels → Import bundle.
/thank-you after payment (getQuestionsForProduct → submitCase →
poll). The marketing quiz on /quiz has no medical questions.
