Developers
Build on Onpilot.
Embed an agent in your product. Sign a JWT on your server, drop the widget on the page, ship. The customer contract is small and stable.
Get started
Quickstart
Embed an agent in three steps — mint a JWT, render the widget, you're live.
SDK & API
Overview of the embed script, React SDK, and the server-side helper for minting identity tokens.
Recipes
Drop-in code for Node, PHP, Python, Ruby, Go on the server — Next.js, Remix, Vite, Angular on the client.
SDK
Components
Pick the right embed surface — Bubble, Sidebar, Inline, or headless Panel — and build custom layouts.
Page context
Pass record context so the agent answers 'I see you're looking at booking MM4582…' instead of a generic greeting.
postMessage protocol
Every onpilot:* event the iframe sends and accepts. Use it to forward your own session token, sync theme, or talk to the widget from outside @onpilot/react.