🤖 Bealink DocuBot

A powerful, embeddable AI chatbot widget for the Bealink documentation.

Quick Start

Add the chatbot to your website:

(function() { var script = document.createElement('script'); script.src = 'https://docubot.bealink.io/bealink-chatbot.js?v=' + new new Date().toISOString().split('T')[0]; script.async = true; script.onload = function() { (async () => { await BealinkChatbot.init({ baseUrl: 'https://docubot.bealink.io', vectorStore: 'lxp' }); })(); }; document.head.appendChild(script); })();

Configuration Options

BealinkChatbot.init({ // API Configuration baseUrl: '', vectorStore: 'lxp', // 'lxp' or 'lms' // Widget Settings position: 'bottom-right', // 'bottom-right' or 'bottom-left' bottomOffset: 20, // Distance from bottom of screen in pixels rightOffset: 20, // Distance from right/left edge in pixels title: 'DocuBot Assistant', welcomeMessage: 'Hello! How can I help you today?', placeholderText: 'Type your message...', // History Settings enableHistory: true, historyKey: 'bealink_chatbot_history', maxHistoryMessages: 50, // Theme Customization theme: { primaryColor: '#0078d4', secondaryColor: '#f3f2f1', textColor: '#323130', fontFamily: 'Segoe UI, sans-serif', fontSize: '14px', borderRadius: '12px', widgetWidth: '380px', widgetHeight: '550px' }, // Accessibility accessibility: { announceMessages: true, highContrastMode: false } });

Live Demo Controls

Customize Theme

API Methods

// Open the chat widget BealinkChatbot.open(); // Close the chat widget BealinkChatbot.close(); // Send a message programmatically BealinkChatbot.send('How do I create a course?'); // Clear chat history BealinkChatbot.clearHistory(); // Update configuration on the fly BealinkChatbot.updateConfig({ vectorStore: 'lms', theme: { primaryColor: '#e74c3c' } }); // Destroy the widget completely BealinkChatbot.destroy();