Getting Started
Quick Start
Get AI-powered support running in your app in under 10 minutes. Four steps, no magic.
1
Create a Tenant
Log in to the Admin Dashboard and create a tenant. You'll receive a tenant key (ten_xxx) and a JWT shared secret.
Open Admin Dashboard →2
Sign JWTs on Your Backend
Your backend must sign a JWT for each user session using the shared secret. The JWT payload includes tenantId, userId, userEmail, userRoles, and plan.
Authentication Guide →3
Implement 4 Endpoints
Expose 4 GET endpoints that return user state, history, logs, and business rules. The widget backend calls these to build context.
API Reference →4
Embed the Widget
Add the widget script to your page and initialize it with your tenant key and JWT. That's it — your users now have AI-powered support.
Widget SDK Docs →Minimal Example
Here's everything you need on the frontend — two script tags:
HTML
<script src="https://cdn.yourdomain.com/ai-support-widget.js"></script><script> AISupportWidget.init({ tenantKey: 'ten_your_key', jwt: await getJwtFromYourBackend(), theme: 'light', position: 'bottom-right', });</script>