💬 Real-time Chat
Instant responses powered by AI technology
🎨 Customizable
Match your brand colors and style
📱 Responsive
Works on desktop, tablet, and mobile
âš¡ Lightweight
Fast loading, minimal impact on your site
How to Install on Your Website
Add this code snippet to your website, just before the closing </body> tag:
<script src="https://your-domain.com/chatbot-widget.iife.js"
data-api-url="https://api.your-domain.com"
data-bot-id="your-bot-id"
data-primary-color="#3b82f6"
data-position="bottom-right"
data-header-title="Chat with us"
data-header-subtitle="We typically reply instantly">
</script>
Programmatic Initialization
You can also initialize the widget programmatically:
<script src="https://your-domain.com/chatbot-widget.iife.js"></script>
<script>
window.AIChatWidget.init({
apiUrl: 'https://api.your-domain.com',
botId: 'your-bot-id',
primaryColor: '#3b82f6',
position: 'bottom-right',
botName: 'AI Assistant',
greeting: 'Hi! How can I help you today?',
headerTitle: 'Chat with us',
headerSubtitle: 'We typically reply instantly'
});
</script>