🎉 Spectrum Chat Integration Example

This page demonstrates the simplest way to add AI chat to your website.

✅ Chat Widget Loaded

Look for the floating chat button in the bottom-right corner. Click it to start chatting!

How It Works

The chat widget is added with just a few lines of code before the closing </body> tag:

Step 1: Configure

Set your apiUrl and siteKey in the configuration object.

Step 2: Load Script

Include the Spectrum Chat script from unpkg CDN.

Step 3: Done!

The widget automatically appears and handles all security, session management, and token refresh.

🔒 Security Features (Automatic)