Web Chat is a communication channel that allows end users to interact with your virtual agent directly from your website. We provide a customizable, embeddable chat widget that supports real-time interactions, ensuring a seamless, branded user experience. Once you create a Web Chat channel, you’ll be directed to a configuration screen where you can customize the widget’s appearance and behavior before deploying it to your website. Updates are previewed live on the right-hand side to help you visualize your changes.Documentation Index
Fetch the complete documentation index at: https://docs.vivi.bot/llms.txt
Use this file to discover all available pages before exploring further.
Appearance Configuration
Configuration options to customize the look and feel of the chat widget using the live preview panel include:General Settings
- Privacy Policy Link Add a configurable link to the agent’s privacy policy within the chat widget.
- Sounds Effects Toggle Enable or disable sound effects for agent responses and states.
- Reply Format Toggle Switch between real-time streaming responses and full responses delivered all at once.
- File Upload Toggle Enable or disable file uploads so the agent can receive and understand user-submitted files during chat.
- Agent Reasoning Toggle Enable or disable agent reasoning mode, allowing reasoning-based agents with streaming enabled to display real-time workflow highlights while the final response is being computed.
Chat Window
- Customize colors for the header background, header text, accents, and highlights. You can adjust the color using hex codes or the color picker.
- Set theme to Light, Dark, or Auto (match user’s system preference).
- Choose an avatar, using a custom image or letter.
Chat Button
- Choose between custom text, custom image, or both for the button.
- Adjust size and color of the button.
Fallback Message
- Define a custom message and icon that will appear if chat services are temporarily unavailable.
Agent Installation
To deploy your agent, navigate to the Installation tab. You will need to embed the provided code on every page where you want the chat widget to appear.- Website
You will be provided with a JavaScript code snippet to embed on your website. The script initializes the chat window using your unique agent channel ID.Example Snippet
Optional Parameters
You can pass optional parameters to further control the chat session. These parameters are added inside aconfig block in your JavaScript embed snippet.
A custom greeting shown when the chat widget loads.
A persistent or custom thread ID for the session. If not provided, a unique thread ID will be generated automatically.
A unique identifier to tie the session to a specific user. If not provided, a unique user ID will be generated and stored in
localStorage.If
true, the thread ID will be stored in localStorage and persist across browser sessions. When false (default), it will be stored in sessionStorage and cleared when the tab is closed.Use this option to listen to the events emitted by the chatbot and do something with them (i.e. tracking analytics). When listening to chatbot events, you’ll receive an event object with the following structure:
Best Practices
- Match your brand’s colors and logo on the web chat channel to ensure a cohesive experience.
- Set a clear and friendly initial greeting to guide users.
- Enable
persistentThreadto give returning users continuity in their conversations.

