Paste one line of HTML. Get a working widget — Ask-AI chat, analytics, or hosted checkout. Tiny, framework-free, Shadow-DOM isolated, so it never breaks your page.
A floating chat bubble that streams answers from your Hanzo AI. Uses a client-safe hz_ widget key that bills your org.
<script src="https://a.hanzo.ai/chat.js" data-key="hz_..."></script>
Optional: data-model data-title data-greeting data-accent. The bubble in the corner of this page is the real widget →
Zero-config event capture + Annotate: schema.org / data-slot microdata auto-emits signals to api.hanzo.ai/v1/analytics. Uses a publishable, write-only pk_ ingest token.
<script src="https://a.hanzo.ai/analytics.js" data-key="pk_..."></script>
Then call window.hanzoAnalytics.track(name, params) for custom events.
Hosted checkout — card fields live on Hanzo's page, never your DOM. Tag any button and it just works. Uses a publishable pk_ key.
<script src="https://a.hanzo.ai/checkout.js" data-key="pk_..."></script>
<button data-hanzo-checkout data-slug="tee" data-name="T-Shirt" data-price="29">Buy</button>
Custom carts: window.hanzoCheckout.createSession({lineItems}).then(window.hanzoCheckout.redirectToCheckout).
Load a loader by its .js URL (/chat.js, /analytics.js, /checkout.js). Each reads data-*, refuses secret keys, and degrades to a console warning if misconfigured — it never throws into your page.