💬 XED Chat Widget

Simple Integration | Live Demo | Easy to Embed

⚙️ Configuration

Quick Start:

Enter your Cohort ID to see the widget in action. All other fields are optional.

👀 Live Preview

Configure the widget and click "Load Widget" to see it in action

The widget will appear at the bottom-right corner

📋 Embed Code

Copy & Paste:

Copy the code below and paste it into your HTML page before the closing </body> tag.

📚 Integration Instructions

  1. Get your Cohort ID: Use the /api/cohorts/cohorts endpoint to get available cohort IDs
  2. Initialize Vectors: Make sure vectors are initialized using POST /api/index/initVector/:cohortId
  3. Copy the Embed Code: Use the code shown above, replacing YOUR_COHORT_ID with your actual cohort ID
  4. Paste in Your HTML: Add the script tag to your webpage before the closing </body> tag
  5. Customize (Optional): Modify data-api-base, data-source, data-agent-name as needed
  6. Security: Set data-parent-origin to your site origin (e.g., https://your-website.com)