Botpress Cloud: Webchat Customization
Full Screen Chatbot

You can Customize the Chatbot to be Full Screen by default using below CSS
1// Import the Botpress WebChat JavaScript file2<script src="https://cdn.botpress.cloud/webchat/v0/inject.js"></script>34// Initialize the Botpress WebChat with the required parameters5<script>6window.botpressWebChat.init({7// Replace <your-bot-id> and <your-client-id> with your actual bot and client IDs8"botId": "<your-bot-id>",9"clientId": "<your-client-id>",1011// Set the URL for the Botpress WebChat JavaScript file and the messaging server12"hostUrl": "https://cdn.botpress.cloud/webchat/v0",13"messagingUrl": "https://messaging.botpress.cloud",1415// Set the name of the bot that will be displayed in the WebChat interface16"botName": "Test",1718// Set the width of the WebChat container and layout to 100% (Full Screen)19"containerWidth": "100%25",20"layoutWidth": "100%25",2122// Hide the widget and disable animations23"hideWidget": true,24"disableAnimations": true,25});2627// Opens up the Chatbot by default28// This lets users start chatting with the Chatbot without needing to click any buttons or menus.29window.botpressWebChat.onEvent(30function () {31window.botpressWebChat.sendEvent({ type: "show" });32},33["LIFECYCLE.LOADED"]34);35</script>