Get your AI chatbot running in minutes.
Sign up and get your API key from the dashboard. It starts with sk_live_
Add this script tag before the closing </body> tag:
<script src="https://yourapp.com/widget.js" data-key="sk_live_YOUR_API_KEY" data-title="Support Chat" data-color="#6366f1" data-greeting="Hello! How can I help?"> </script>
Upload your FAQs, docs, or scrape your website from the Knowledge Base tab in your dashboard.
| Attribute | Required | Default | Description |
|---|---|---|---|
| data-key | Yes | — | Your API key (sk_live_...) |
| data-title | No | Support Chat | Widget header title |
| data-color | No | #6366f1 | Brand color (hex) |
| data-greeting | No | Hello! How can I help? | First message shown to user |
| data-position | No | bottom-right | bottom-right or bottom-left |
/api/chatSend a message and get AI response/api/client/accountGet account overview and usage stats/api/client/leadsList captured leads (CSV or JSON)/api/client/conversationsView recent conversations/api/client/kbUpload knowledge base (text or URL scrape)/api/client/upgradeStart PayPal subscription/api/client/cancelCancel subscriptionAuthorization: Bearer sk_live_... header.The knowledge base uses RAG (Retrieval-Augmented Generation) to give your chatbot accurate, specific answers about your business.
POST /api/client/kb
Authorization: Bearer sk_live_...
Content-Type: application/json
{
"action": "scrape",
"url": "https://yourwebsite.com",
"maxPages": 5
}POST /api/client/kb
Authorization: Bearer sk_live_...
Content-Type: application/json
{
"action": "upload",
"text": "Your FAQs, product info, policies..."
}