Prerequisites
Before you begin, make sure you have:- A BoostGPT account (sign up free)
- An AI agent created and trained with your content
- Access to your website’s code
Step 1: Add the Chat Widget
Add this script to your website:YOUR_AGENT_UUID with your agent’s UUID from the dashboard. The bubble appears in the
bottom-right corner and opens the full agent chat experience — streaming, tools, and file uploads
all work out of the box.
Step 2: Choose an Open Style
Setdata-open-style to control how the chat opens:
normal(default) — a floating chat window opens from the bubbledock— a centered prompt bar that expands into a wider chat panel
Step 3: Identify Your Users (Optional)
If visitors are logged in, sign a JWT on your backend so conversations are tied to the right user and history persists across sessions:Step 4: Test It
- Open your website in a browser
- Click the chat bubble
- Ask a question your agent was trained on — you should get a streamed answer
- Check the Conversations page in the dashboard to see the transcript
Next Steps
Widget Configuration
All available options
Use Case Guides
Real-world implementation examples