Create Chat Agent
Chat agents handle text-based conversations on your website via the embeddable widget or the API.Step 1: Create the agent
- Go to Agents → Create Agent
- Set Agent Mode to
ChatorBoth - Write your system prompt
- Select an LLM model
- Save
Step 2: Configure chat settings
Navigate to the Chat settings tab on your agent:Chat Settings
Widget Appearance
Step 3: Enable the widget
Toggle Chat Widget to enabled. This activates the public widget endpoints for your agent.Step 4: Get the embed code
- Expand the Embed Code section (appears after enabling the widget)
- Choose Chat Widget or Callback Widget
- Copy the script snippet
- Paste on your website before
</body>
Step 5: Add a knowledge base (optional)
Give your agent access to your documentation, FAQs, or product information:- Go to the Knowledge Base tab
- Click Add Source
- Upload files (PDF, DOCX, TXT) or enter a website URL
- The content is automatically chunked, embedded, and stored for retrieval