Add Video Chat to Any Website
vbot.js is a JavaScript widget that adds AI-powered video chat to any website. Works with React, Vue, vanilla JS, or any platform. Full customization control.
Use our hosted endpoint (no backend required) or host your own (10-20 lines of code)
See It In Action
Watch how easy it is to integrate and see the widget in action
Two Integration Options
Option 1 (Recommended): Use our hosted endpoint - no backend required! Just whitelist your domain and use your API key name.Set up domain whitelisting →
Option 2: Host your own endpoint (10-20 lines of code) that proxies requests to the rtAV API. We provide examples for Node.js, Python, PHP, and serverless functions (Vercel, Netlify, AWS Lambda).View examples →
Powerful Features
Everything you need to add engaging video chat to your website
5-Minute Integration
Add the widget to your site with just a script tag. Configure once and it works everywhere.
Fully Customizable
Control colors, labels, messages, AI behavior, and more. Match your brand perfectly.
AI-Powered Conversations
Powered by advanced AI models (GPT-5.2, Claude, etc.) with customizable instructions and context awareness.
Real-Time Video Avatars
Engaging video avatars that speak naturally. Custom faces and voices supported.
Works Everywhere
Compatible with any website - React, Vue, vanilla JS, WordPress, Shopify, or any platform.
Secure by Design
Ephemeral keys keep your API keys safe. Use our hosted endpoint or your own backend for security.
Get Started in 5 Minutes
Add video chat to your website in just a few simple steps
Get Your API Key
Sign up at platform.rtav.io and get your API key from the dashboard.
Configure Endpoint
Use our hosted endpoint (recommended - just whitelist your domain) or create your own backend endpoint (10-20 lines of code).
Include Widget Script
Add the vbot.js script to your HTML and initialize with your configuration.
Start Chatting
The widget appears on your site. Visitors can start video conversations immediately!
Backend Endpoint Examples (Optional)
Prefer to host your own endpoint? Choose your platform. Each example is just 10-20 lines of code.
// Node.js/Express
app.post('/api/client-secrets', async (req, res) => {
const response = await fetch('https://api.rtav.io/v1/realtime/client_secrets', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify(req.body)
});
res.json(await response.json());
});Widget Integration
Add the widget to your HTML with just a few lines of code
<!DOCTYPE html>
<html>
<head>
<title>My Website</title>
</head>
<body>
<!-- Your page content -->
<!-- Include VBot widget -->
<script src="https://platform.rtav.io/vbot.min.js"></script>
<script>
window.addEventListener('DOMContentLoaded', () => {
const vbot = new VBot({
title: 'Customer Support',
name: 'Assistant',
face: 'your-face-id',
voice: 'your-voice-id',
model: 'gpt-5.2',
instructions: 'You are a helpful assistant.',
// Option 1: Use platform-hosted endpoint (recommended - no backend required)
clientSecretsUrl: 'https://platform.rtav.io/api/vbot/client-secrets?apiKeyName=Your API Key Name',
// Option 2: Use your own backend endpoint
// clientSecretsUrl: '/api/client-secrets',
wsUrl: 'wss://api.rtav.io/v1/realtime',
welcome_message: 'Hello! How can I help?',
color: '#4CAF50',
label: 'Chat with AI'
});
});
</script>
</body>
</html>Perfect For
Web Developers & Agencies
- ✓Add video chat to client websites
- ✓Full customization control
- ✓Works on any platform or framework
- ✓Fast integration
SaaS Companies
- ✓Upgrade support with video chat
- ✓Differentiate from text-only competitors
- ✓Improve customer engagement
- ✓Easy to integrate into existing apps
Why vbot.js?
vs. WordPress/Shopify Plugins
- ✓Works on any platform, not just WordPress/Shopify
- ✓Full code control and customization
- ✓No vendor lock-in
vs. Full API Integration
- ✓Pre-built UI widget - no design work needed
- ✓Faster integration
- ✓Still customizable when needed
Ready to Add Video Chat to Your Website?
Get started in 5 minutes. Add the widget, configure the endpoint, and start engaging with visitors.
10 free minutes on signup • No credit card required