GITBOOK-132: No subject

This commit is contained in:
Mohamed Marrouchi 2025-01-24 08:25:38 +00:00 committed by gitbook-bot
parent 62face237e
commit 7b3b96b524
No known key found for this signature in database
GPG Key ID: 07D2180C7B12D0FF

View File

@ -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,
); );