JavaScript Demo
See how easy it is to integrate high-performance ads into your web app using our lightweight SDK.
Requirements
- A modern browser environment (the SDK is framework-agnostic — works in static pages, custom chat UIs, or any SPA).
You’ll need a publisher account to obtain your
publisherToken and placement codes.Installation
Install via npm or load from CDN.
Showing your first ad
Create a session, feed messages, mount an ad — the 5-minute integration.
API reference
createSession, Session, Ad, and the full event list.Guides
Patterns and recipes: no-fill, character switching, restoring history, and more.
Example app
Run the Vite demo end-to-end against your own publisher token.