Most widget settings are managed in the BuzzBip dashboard at app.buzzbip.com. Additional runtime options can be passed via the window.BuzzBipChat configuration object.
Runtime configuration
javascript
window.BuzzBipChat = {
widgetId: "wdg_abc123",
locale: "fr", // Widget UI language
position: "bottom-right", // bottom-right | bottom-left
theme: {
primaryColor: "#7F51F2",
textColor: "#FFFFFF"
},
visitor: {
email: "[email protected]", // Pre-fill if logged in
name: "Walid Ben Ali"
},
hideOnMobile: false,
autoOpen: false
};Configuration options
Dashboard settings
Configure these options in Channels → Website Chat → Settings:
- Welcome message and offline message
- Pre-chat form fields (name, email, phone, custom fields)
- Business hours and away state
- WhatsApp handoff button and message template
- Allowed domains (restrict widget to your site origins)
- GDPR consent checkbox text
JavaScript API
After the widget loads, use the global API to control visibility programmatically:
javascript
// Open the chat panel
window.BuzzBipChatAPI.open();
// Close the chat panel
window.BuzzBipChatAPI.close();
// Hide the launcher entirely
window.BuzzBipChatAPI.hide();
// Show the launcher
window.BuzzBipChatAPI.show();