Prerequisites
Youโll need an active Chatbase account to follow this guide. Sign up here if you havenโt already.
Overview
Hereโs what weโll accomplish in this guide:Test & Optimize
Use the Playground to test responses and fine-tune performance using the Compare feature
Step 1: Create & Train Your AI Agent
Navigate to Your Dashboard
After signing into your Chatbase account, go to your main dashboard. Click the โNew AI Agentโ button to get started.
Choose Your Training Data
Your AI Agent needs information to learn from. You can train it using various data sources:- Files
- Text snippets
- Website
- Q&A
- Notion
Upload your documentsTrain your agent on your documents.Best for: Business documents, manuals, FAQs, product information, etc.

Review & Start Training
Click โCreate Agentโ to begin the training process.
Training typically takes 2-5 minutes depending on the amount of data. You can proceed to the next step while training completes.
Character Limits: Different plans have different character limits for training data. Check your plan if you hit any limits.
Step 2: Test & Optimize Your AI Agent
Access the Playground
Once training begins, youโll automatically be taken to the Playground - your testing environment where you can chat with your AI Agent and fine-tune it before making it live.
Evaluate Response Quality
As you test, look for:Accuracy - Are responses factually correct?
Relevance - Does it answer what was asked?
Completeness - Are responses comprehensive but concise?
Tone - Does it match your brand voice?
Fine-tune Settings
- AI Model
- Instructions
- Temperature
Test responses with different models
Step 3: Deploy to Your Website
Navigate to the Deploy Section
Once youโre satisfied with your AI Agentโs responses, itโs time to make it live! Navigate to the โDeployโ tab in the sidebar, and toggle the switch on the โChat widgetโ card to enable the agent.
Disabled vs Enabled: Disabled agents are only accessible to workspace
members. Enabled agents can be embedded on websites and accessed by anyone
with the link.
Choose Your Deployment Method
Chatbase offers multiple deployment methods including chat widget, help page, and integrations with WhatsApp, WordPress, and other platforms.

- Chat Widget (Recommended)
- iFrame
Perfect for most websitesAdds a floating chat icon that users can click to start conversations. Non-intrusive and mobile-friendly.Pros:
- Can utilize advanced features like identity verification.
- Doesnโt interfere with your siteโs design
- Users can minimize/maximize as needed
- Works great on mobile devices
- Familiar UX pattern
Get Your Embed Code
In this guide weโll use the Chat widget option. Copy the provided JavaScript code snippet:
Add Code to Your Website
Locate Your Site's HTML
Find where you can add JavaScript code to your website. This is usually in the
<head> section or before the closing </body> tag.Paste the Code
Copy and paste the embed script into your websiteโs HTML. If youโre using a CMS like WordPress, thereโs usually a โCustom HTMLโ or โScriptsโ section.
Verify Installation
Visit your website and look for the chat bubble. Click it to test the integration!
Success! Your AI Agent is now live and ready to help your website visitors.
Customize Appearance (Optional)
Want to match your brand? Check out our settings guide for style and content.
Branding Options
Branding Options
- Upload custom chat bubble icon
- Change bubble colors to match your brand
- Customize welcome messages
- Set initial questions users can click
Behavior Settings
Behavior Settings
- Auto-open chat after delay
- Collect user feedback
๐ Congratulations!
Youโve successfully created, trained, tested, and deployed your first AI Agent! Hereโs what youโve accomplished:โ
Created an intelligent AI Agent trained on your data
โ
Tested and validated response quality
โ
Deployed it live on your website
โ
Made it accessible to your visitors 24/7
Whatโs Next?
Monitor Performance
Track conversations and optimize your AI Agentโs performance
Advanced Features
Add actions like lead capture, appointment booking, and more
Best Practices
Learn proven strategies to maximize your AI Agentโs effectiveness
API Integration
Build custom integrations with our powerful API
Need help? Our support workspace is here to assist you. Visit our Help Center or check out the FAQ section for common questions.





