Documentation
Everything you need to know about integrating and customizing HdgeBot for your website.
Documentation
Getting Started with HdgeBot
HdgeBot is an AI-powered chatbot that helps businesses automate customer support, answer queries, and improve user engagement. This guide will help you get started with integrating HdgeBot into your website.
Installation
Adding HdgeBot to your website is simple. Just add the following script tag to your HTML:
<script src="https://cdn.hdgebot.com/widget.js" data-bot-id="YOUR_BOT_ID"></script>
Replace YOUR_BOT_ID
with the unique identifier provided in your HdgeBot dashboard.
Pro Tip
For optimal performance, place the script tag just before the closing </body>
tag.
Configuration
You can customize HdgeBot's behavior by adding data attributes to the script tag:
<script
src="https://cdn.hdgebot.com/widget.js"
data-bot-id="YOUR_BOT_ID"
data-position="bottom-right"
data-theme="light"
data-greeting="Hi there! How can I help you today?"
></script>
Attribute | Default | Description |
---|---|---|
data-position | bottom-right | Position of the chat widget (bottom-right, bottom-left) |
data-theme | dark | Color theme of the chat widget (dark, light) |
data-greeting | Hello! How can I assist you? | Initial greeting message from the chatbot |