qkai-chatbot
v1.2.4
Published
QKAI Chatbot Widget Library
Downloads
1,849
Maintainers
Readme
QKAI Chatbot Widget
A powerful and customizable chat widget made by QKIT Software that can be easily embedded into any website.
Installation and Usage
Install via npm:
npm install qkai-chatbot
import QKAIChatbot from "qkai-chatbot";
QKAIChatbot.initialize({
token: "your-token-here",
});
Or include directly via CDN. Initialize the chatbot widget by adding the following script:
<script src="https://unpkg.com/qkai-chatbot@latest/dist/qkai-chatbot.js"></script>
<script>
QKAIChatbot.initialize({
token: "your-token-here",
});
</script>
In Nextjs:
"use client";
import Script from "next/script";
<Script
src="https://unpkg.com/qkai-chatbot@latest/dist/qkai-chatbot.js"
onLoad={() => {
window.QKAIChatbot.initialize({
token: "your-token-here",
});
}}
/>;