Full screen chatbot
# 🤝help
c
Can someone please tell me what bot id and client id is and where i can find them and what else i need to add to make this work? ``// Import the Botpress WebChat JavaScript file // Initialize the Botpress WebChat with the required parameters window.botpressWebChat.init({ // Replace and with your actual bot and client IDs "botId": "", "clientId": "", // 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": "Test", // 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"] ); ``
j
what are u tryna do kid?
a
1. Publish your bot 2. In the admin panel, go to "Integrations" 3. Click the tab for "Configurable" The botID and clientID are in the code.

https://cdn.discordapp.com/attachments/1141649438650155008/1141676359752613920/image.png

40 Views