AI Widget SDK Documentation

Complete guide to integrating our high-performance AI chat widget into your website

Quick Start

Get the AI Widget SDK up and running in minutes.

1. Install via NPM

npm install @courseecho/ai-widget-sdk

2. Initialize the Widget

import { AiWidget } from '@courseecho/ai-widget-sdk'; const widget = new AiWidget({ apiKey: 'YOUR_API_KEY', containerId: 'ai-widget', position: 'bottom-right' }); widget.initialize();

3. Add to HTML

<div id="ai-widget"></div>
✓
That's it! Your AI widget is now ready to chat. See the integration guides below for framework-specific setup.

Ready to integrate the AI Widget?