Embed Returning.AI widgets with a standard <iframe> tag. No npm packages, no build step - works on any platform that renders HTML.
Embed with Authentication
Every widget needs to identify the user so it can display their rewards, points, and tier status. Choose an approach based on whether you have a backend available:
The iframe embed works on any platform that supports HTML. No npm, no bundler, no framework required.
WordPress, Shopify, Squarespace, or any CMS
Static HTML sites
Platforms where you cannot install npm packages
Legacy applications with existing auth systems
Email templates or webviews with limited JavaScript support
If you can install npm packages and use a modern framework, consider the Widget SDK instead for a tighter integration with Shadow DOM isolation and automatic token management.