- HTML
- React
1
In the head section
HTML
2
In the body section
HTML
YOUR-CHATBOT-ID with the ID of your Chatbot.You can place the Chatbot element anywhere in your HTML.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Install on your website
In the head section
<script async type="text/javascript" src="https://client.aidbase.ai/chat.ab.js"></script>;
In the body section
<ab-chat chatbotID="YOUR-CHATBOT-ID"></ab-chat>;
YOUR-CHATBOT-ID with the ID of your Chatbot.Install the chat package
npm install @aidbase/chat"
Use the chat component
import { Chat } from '@aidbase/chat';
<Chat chatbotID="YOUR-CHATBOT-ID" />
YOUR-CHATBOT-ID with the ID of your Chatbot.