Integrate your AI chatbot with any HTML website using our simple JavaScript snippet.
Copy the embed code from your Dot dashboard. This code contains your unique chatbot configuration.
Paste the code before the closing </body> tag in your HTML file.
<!-- Dot AI Chatbot -->
<script>
window.DOT_CHATBOT = {
dotId: 'your-dot-id',
position: 'bottom-center',
welcomeMessage: 'Hi! How can I help you today?',
hints: ['How can I help you?', 'Ask me anything!']
};
</script>
<script src="https://cdn.d0t.my/dot.js" async></script>
Note: Replace your-dot-id
with your actual dot ID from the dashboard.
string
Your unique chatbot identifier from the dashboard
bottom-center
string
array
Follow the steps above to add Dot to your HTML website, or explore other integration methods.