The Chatbase Vercel integration allows you to add an AI-powered chatbot to your Vercel-hosted applications directly from the Vercel Marketplace. No code required—just a few clicks to get started.Documentation Index
Fetch the complete documentation index at: https://chatbase.co/docs/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Chatbase native integration for Vercel provides a seamless way to add conversational AI to your web applications. With this integration, you can:- Install Chatbase directly from the Vercel Marketplace
- Create and configure your AI chatbot without leaving Vercel
- Automatically inject environment variables into your project
- Deploy AI-powered chat experiences instantly
- Scale automatically with Vercel’s global edge network
Prerequisites
Before you begin, ensure you have:- A Vercel account (Sign up for free)
- An existing Vercel project or use our template here
Installation Guide
Follow these steps to install and configure Chatbase from the Vercel Marketplace:Step 1: Install Chatbase from Vercel Marketplace
Navigate to Vercel Marketplace
- Log into your Vercel Dashboard
- Click on the Marketplace tab in the top navigation
- In the search bar, type “Chatbase”
- Click on the Chatbase integration from the search results
Step 2: Configure Your Chatbot
Choose Chatbot Preset
- AI Agent - A general-purpose intelligent assistant
- Customer Support Agent - Optimized for answering customer questions and providing support
- Sales Agent - Helps guide customers through product selection and purchase decisions
- Language Tutor - Designed for language learning and practice
- And more preset options tailored to specific use cases
Step 3: Choose Your Subscription Plan
Select a Plan
- Free - Perfect for testing and small projects (limited messages/month)
- Hobby - For personal projects and small websites
- Standard - For growing businesses
- Professional - For high-traffic applications
Complete Billing
- An invoice will be sent to your registered email address
- Follow the payment link in the invoice to complete your subscription
- Your plan will become active once the invoice is paid
Step 4: Name Your Chatbot
Enter Chatbot Name
- Appear in your Chatbase dashboard
- Help you identify the chatbot if you create multiple agents
- Be visible in your Vercel integration settings
- “Website Support Bot”
- “Product Assistant”
- “Sales Lead Qualifier”
- “Documentation Helper”
Step 5: Customize in Chatbase Dashboard
Access Your Chatbase Dashboard
Customize Appearance (Optional)
- Theme colors - Match your brand colors
- Widget position - Bottom left, bottom right, or custom
- Chat bubble style - Icon style and size
- Avatar image - Upload your logo or brand image
- Initial message - Set the greeting message
- Placeholder text - Customize the input field text

Add Training Data Sources (Optional)
- Navigate to the Data sources tab
- Add training data from various sources:
- Website URLs - Scrape content from your website
- Documents - Upload PDF, DOCX, or TXT files
- Text snippets - Paste content directly
- Q&A pairs - Add specific question-answer pairs
- Sitemaps - Import entire website structures
Configure Actions (Optional)
- Lead Collection - Capture visitor information
- Calendar Booking - Integrate with Calendly or Cal.com
- Stripe Payments - Accept payments directly in chat
- Custom Actions - Create custom workflows and API calls
- Web Search - Allow the bot to search the internet for current information
Set Up Integrations (Optional)
- Slack - Send notifications to Slack channels
- Zapier - Connect with 5,000+ apps
- Webhooks - Send data to your own endpoints
- CRM systems - Sync contacts with your CRM
Step 6: Connect to Your Vercel Project
Click Connect Project
- In the Chatbase integration settings, click Connect Project
- A dialog will appear showing all your Vercel projects
- Select the project(s) where you want to add the Chatbase chatbot
Step 7: Redeploy Your Project
Trigger a New Deployment
- Go to your project in the Vercel dashboard
- Click on the Deployments tab
- Click the three-dot menu (⋯) on your latest deployment
- Select Redeploy
Step 8: Verify Installation
Visit Your Deployed Project
- Click the Visit button in your Vercel dashboard
- Or navigate directly to your project’s URL
Test the Chat Widget
- Look for the chat bubble - Should be visible in the corner of your page
- Click to open - The chat interface should expand
- Send a test message - Try asking a question related to your training data
- Verify response - The AI should respond based on the sources you configured
Managing Your Integration
Updating Your Chatbot
Changes made in your Chatbase dashboard apply instantly without requiring redeployment:- Appearance customization - Colors, position, styling
- Training data updates - Add or remove sources
- Response behavior - Adjust personality and model
- Actions and integrations - Enable or disable features
Advanced Features
Multiple Projects
You can connect the same Chatbase chatbot to multiple Vercel projects:- Go to your Vercel dashboard
- Navigate to Integrations → Chatbase
- Click Manage on your Chatbase integration
- Click Add Project to connect additional projects
Different Chatbots for Different Environments
To use different chatbots for production, preview, and development environments:- Create separate chatbots in Chatbase for each environment
- In Vercel, manually override environment variables:
- Go to Settings → Environment Variables
- Set different
NEXT_PUBLIC_CHATBOT_IDvalues for Production, Preview, and Development
- Test changes without affecting production conversations
- Maintain separate training data per environment
- Monitor environment-specific analytics separately
Managing Your Subscription Plan
To change your Chatbase subscription:- Go to your Vercel dashboard
- Navigate to Integrations → Chatbase → Settings
- Click Change Plan
- Select your desired plan option
Upgrading Your Plan
Choose a higher-tier plan and complete the invoice payment.- Your new plan features activate right away
- Increased message limits are available immediately
- Any prorated charges are calculated automatically
- Your billing cycle continues with the new plan pricing
Downgrading Your Plan
Choose a lower-tier plan to switch to.- You continue to enjoy your current plan features until period end
- The new plan activates automatically when your billing cycle renews
- You’ll receive a confirmation email with the effective date
Canceling Your Subscription
Select the Free plan and confirm your cancellation. What happens when you cancel:- Your chatbot remains active until the end of your billing period
- You retain access to all current plan features until period end
- No future charges will be processed
- You can resubscribe at any time if you change your mind
- After cancellation takes effect, your plan reverts to the Free tier
Uninstalling the Integration
If you need to remove the Chatbase integration:- Go to your Vercel dashboard
- Navigate to Integrations → Chatbase
- Click Manage → Remove Integration
- Confirm removal
Troubleshooting
Chat widget not appearing after installation
Chat widget not appearing after installation
-
Redeploy your project
- Environment variables are injected at build time
- Go to Deployments → Select latest → Redeploy
-
Verify environment variables
- Check Settings → Environment Variables
- Ensure
NEXT_PUBLIC_CHATBOT_IDis present - Verify they’re enabled for all environments
-
Check browser console
- Open DevTools (F12)
- Look for any JavaScript errors related to Chatbase
- Verify the embed script is loading successfully
-
Clear browser cache
- Hard refresh: Ctrl+Shift+R (Windows) or Cmd+Shift+R (Mac)
- Try in an incognito/private window
Integration installation failed
Integration installation failed
-
Remove and reinstall
- Go to Vercel → Integrations → Chatbase
- Click Manage → Remove Integration
- Reinstall from the Vercel Marketplace
-
Check permissions
- Ensure you have admin access to the Vercel team/project
- Verify your Vercel account is properly authenticated
-
Contact support
- If issues persist, contact Chatbase Support
- Provide your Vercel project ID and integration details
Environment variables not taking effect
Environment variables not taking effect
- Make your environment variable changes
- Trigger a new deployment:
- Option A: Push a commit to your Git repository
- Option B: Manual redeploy from Vercel dashboard
- Clear browser cache and test
Plan billing issues
Plan billing issues
-
Invoice not received
- Check your email spam/junk folder
- Verify email address in Vercel account settings
- Contact Vercel support for invoice resend
-
Plan not activating after payment
- Allow up to 10 minutes for payment processing
- Check payment status in Vercel billing dashboard
- Contact Vercel support if payment is confirmed but plan isn’t active
-
Subscription changes
- Upgrades activate immediately after payment
- Downgrades and cancellations take effect at the end of current billing period
- You retain current plan features until period end for downgrades/cancellations
Optimizing Response Quality
For the best chatbot performance:- Add comprehensive training data - More sources = better responses
- Test regularly - Use the Chatbase playground to verify quality
- Monitor conversations - Review chat logs in Chatbase dashboard
- Iterate on sources - Remove irrelevant content, add missing information
- Use custom actions - Add interactive features for complex workflows
Next Steps
Now that your Chatbase chatbot is live on Vercel, explore these features to enhance your implementation:Add Training Data Sources
Customize Appearance
Enable Actions
Monitor Analytics
Connect More Apps
Developer Features
Additional Resources
Vercel Documentation
Vercel Documentation
Chatbase Documentation
Chatbase Documentation
Support & Community
Support & Community
- Chatbase Help Center: chatbase.co/help
- Vercel Support: vercel.com/support
- Email Support: Contact us through your dashboard
- Documentation: Browse our comprehensive guides