mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
GITBOOK-132: No subject
This commit is contained in:
parent
62face237e
commit
7b3b96b524
@ -1,4 +1,4 @@
|
|||||||
# How can I add the Chatbot Widget in my Website?
|
# How can I add the Chatbot Widget to my Website?
|
||||||
|
|
||||||
The [Hexabot](https://hexabot.ai/) Live Chat Widget is a React-based embeddable widget that allows you to integrate real-time chat functionality into your website. This guide will walk you through how to add the widget to your website, customize it to fit your needs, and manage its settings.
|
The [Hexabot](https://hexabot.ai/) Live Chat Widget is a React-based embeddable widget that allows you to integrate real-time chat functionality into your website. This guide will walk you through how to add the widget to your website, customize it to fit your needs, and manage its settings.
|
||||||
|
|
||||||
@ -44,8 +44,7 @@ Once you have built the widget, embedding it on any webpage is straightforward.
|
|||||||
ReactDOM.render(
|
ReactDOM.render(
|
||||||
React.createElement(HexabotWidget, {
|
React.createElement(HexabotWidget, {
|
||||||
apiUrl: 'https://api.yourdomain.com',
|
apiUrl: 'https://api.yourdomain.com',
|
||||||
channel: 'offline',
|
channel: 'web-channel'
|
||||||
token: 'token123',
|
|
||||||
}),
|
}),
|
||||||
shadowContainer,
|
shadowContainer,
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user