Quick Start
Get the AI Widget SDK up and running in minutes.
1. Install via NPM
npm install @courseecho/ai-widget-sdk2. 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.