salmon-kite-31708
12/14/2023, 2:55 PMacceptable-kangaroo-64719
12/14/2023, 3:28 PMinit()
function:
js
"containerWidth": "100%25",
"layoutWidth": "100%25",
acceptable-kangaroo-64719
12/14/2023, 3:28 PMsalmon-kite-31708
12/14/2023, 3:31 PMsalmon-kite-31708
12/14/2023, 3:31 PMacceptable-kangaroo-64719
12/14/2023, 3:31 PMsalmon-kite-31708
12/14/2023, 3:31 PMacceptable-kangaroo-64719
12/14/2023, 3:31 PMsalmon-kite-31708
12/14/2023, 3:32 PMacceptable-kangaroo-64719
12/14/2023, 3:32 PMsalmon-kite-31708
12/14/2023, 3:33 PMacceptable-kangaroo-64719
12/14/2023, 3:35 PMhtml
<script>
window.botpressWebChat.init({
// Replace <your-bot-id> and <your-client-id> with your actual bot and client IDs
"botId": "3a400c1e-2296-407a-ac82-fceb8989fac1",
"clientId": "3a400c1e-2296-407a-ac82-fceb8989fac1",
// Set the URL for the Botpress WebChat JavaScript file and the messaging server
"hostUrl": "https://cdn.botpress.cloud/webchat/v0",
"messagingUrl": "https://messaging.botpress.cloud",
// Set the name of the bot that will be displayed in the WebChat interface
"botName": "Helpful Bot",
// Set the width of the WebChat container and layout to 100% (Full Screen)
"containerWidth": "100%25",
"layoutWidth": "100%25",
// Hide the widget and disable animations
"hideWidget": true,
"disableAnimations": true,
});
// Opens up the Chatbot by default
// This lets users start chatting with the Chatbot without needing to click any buttons or menus.
window.botpressWebChat.onEvent(
function () {
window.botpressWebChat.sendEvent({ type: "show" });
},
["LIFECYCLE.LOADED"]
);
</script>
salmon-kite-31708
12/14/2023, 3:38 PMacceptable-kangaroo-64719
12/14/2023, 3:40 PMsalmon-kite-31708
12/14/2023, 3:42 PMsalmon-kite-31708
12/14/2023, 3:42 PMsalmon-kite-31708
12/14/2023, 3:43 PMacceptable-kangaroo-64719
12/14/2023, 3:47 PMsalmon-kite-31708
12/14/2023, 3:47 PMsalmon-kite-31708
12/14/2023, 3:48 PMacceptable-kangaroo-64719
12/14/2023, 3:48 PMacceptable-kangaroo-64719
12/14/2023, 3:48 PMsalmon-kite-31708
12/14/2023, 3:54 PMsalmon-kite-31708
12/14/2023, 4:06 PMsalmon-kite-31708
12/14/2023, 4:07 PMthousands-nest-91570
12/14/2023, 4:23 PMthousands-nest-91570
12/14/2023, 4:23 PMsalmon-kite-31708
12/14/2023, 4:55 PMsalmon-kite-31708
12/14/2023, 4:56 PMsalmon-kite-31708
12/14/2023, 4:56 PMsalmon-kite-31708
12/14/2023, 4:56 PMhelpful-electrician-82712
01/11/2024, 9:19 PMsalmon-kite-31708
01/12/2024, 1:31 AMsalmon-kite-31708
01/12/2024, 1:31 AMblue-planet-55922
03/22/2024, 3:15 PM