You can toggle Webchat open/closed using a custom HTML element. This hides the default chat bubble that usually loads with Webchat.Documentation Index
Fetch the complete documentation index at: https://botpress.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
You will need:
- A website with an embedded bot using Webchat v3.3
- Basic familiarity with HTML
This option isn’t available if you’re embedding Webchat in a specific element.
Get your Webchat element ID
First, get your Webchat element ID:
- Select your bot from your Workspace.
- Go to Webchat > Deploy Settings.
- Under Chat Launcher, select Custom element.
- Copy the contents of the Element Selector field.
- Select Publish Changes.
Done! This element will now toggle the Webchat window.