Documentation
Welcome to the Assistant AI documentation. Here you will learn how to configure database, website, and manual assistants, test them in the playground, and embed the widget in a frontend.
1. Assistants & Knowledge Bases
Assistants are the core configured units of the platform. You can provide three different types of knowledge sources to guide an assistant's answers:
- Database (NL2SQL): Connect PostgreSQL or MySQL data sources, select the tables the assistant may use, and generate read-only SQL from natural-language questions.
- Website assistant: Provide a URL and scraping settings. The system extracts website content where possible and reuses the ingested rows for later questions.
- Manual knowledge: Paste onboarding notes, API reference material, FAQs, policies, or project knowledge that should be referenced during AI runtime.
2. Widget Configuration
The assistant widget is designed to be embedded with a script tag. Click on "Copy Embed" inside your assistant settings. The generated snippet follows this structure:
<script
src="https://your-api.example.com/assistant/embed.js"
data-assistant-id="YOUR_ASSISTANT_ID"
></script>3. The Playground
The Playground lets you test an assistant without leaving the dashboard. Select an assistant, review generated answers or SQL, adjust AI settings when needed, and refresh source context when the configured data changes.

