What Is a Widget Key?
A widget key is a public identifier (a long string of characters) that VozAgent generates when you create a widget. It’s embedded in the JavaScript snippet you place on your website. When a visitor opens the widget, the key tells VozAgent which assistant to connect them to and what mode (Chat, Voice, or Chat & Voice) to use. Widget keys are designed to be public — they’re visible in your website’s source code, and that’s fine. They only grant access to start a conversation with your assistant; they don’t expose any private account information.Viewing Your Widget Keys
To see all your widget keys, navigate to Widgets in the dashboard sidebar. The Widgets page shows a card for each of your active assistants. For assistants that have a widget key, the card displays:- Mode badge — Shows whether the widget is set to Chat, Voice, or Chat & Voice.
- Key preview — The first 12 characters of the public key, for quick identification.
Widget Key Properties
Each widget key has the following properties:| Property | Description |
|---|---|
| Public Key | The unique identifier used in the embed code. This is what connects your website to your assistant. |
| Mode | Chat, Voice, or Chat & Voice. Determines how visitors interact with the widget. |
| Display Name | The name shown in the widget header (defaults to the assistant’s name). |
| Accent Color | The theme color used for the widget header, buttons, and message bubbles. |
| Greeting Message | The first message visitors see when they open the widget. |
| Primary Goal | Lead Capture & Qualification, or Customer Support & FAQs. |
| Inbox Mode | Front Desk (lead capture) or Support Desk (customer support). |
| Booking Enabled | Whether the assistant can schedule appointments through the widget. |
| Intake Fields | Which information the assistant collects from visitors. |
| Avatar | A custom image displayed in the widget header. |
| Active Status | Whether the key is currently active. |
| Created Date | When the key was generated. |
| Last Used | When the key was last used for a conversation. |
One Key Per Assistant
Each assistant can have only one widget key at a time. This keeps things simple — there’s a direct one-to-one relationship between an assistant and its widget. If you need different configurations for the same assistant (for example, different greeting messages for different pages), you would need to create separate assistants for each configuration.Creating a Widget Key
If an assistant doesn’t have a widget key yet, its card on the Widgets page will show a Create button. Only admin users on the Growth plan or above can create widget keys.- Click Create on the assistant’s card.
- VozAgent generates a key in Chat & Voice mode by default.
- The key is available immediately.
Updating Widget Settings
To update a widget key’s settings:- Click on the assistant’s card on the Widgets page to open the widget detail view.
- Navigate to the appropriate tab (Appearance, Greeting & Behavior, Intake Questions, or Tracking Code).
- Make your changes.
- Click Save Changes.
Deleting a Widget Key
If you need to remove a widget entirely:- Open the widget detail view by clicking on the assistant’s card.
- Click the trash icon in the top-right corner.
- A confirmation dialog will appear, warning that the embed code will stop working immediately.
- Click Delete to confirm.
- The embed code on your website immediately stops working. Visitors will no longer see the widget.
- All widget settings (display name, accent color, greeting, intake fields, etc.) are removed.
- Conversation history from the widget is not deleted — it remains in your inbox.
- You can create a new widget key for the same assistant at any time, but it will be a fresh key with default settings.
When to Delete and Recreate a Key
There are a few situations where deleting and recreating a key makes sense:- Switching modes — If you want to change from Chat to Voice mode (or vice versa), delete the existing key and create a new one.
- Security concerns — If you believe your key has been compromised or is being used by unauthorized parties, deleting it immediately stops all access. Create a new key and update your embed code.
- Starting fresh — If you’ve made many changes and want a clean slate with default settings.
Troubleshooting
The widget isn’t showing on my website. Make sure the embed code is placed before the closing</body> tag and that the widget key hasn’t been deleted. Check the browser’s developer console for any JavaScript errors.
I updated the widget settings but visitors see the old version.
Changes take effect immediately, but visitors with an active session may see cached settings. New visitors will always get the latest configuration.
The Create button is missing.
Only admin users can create widget keys. If you’re a standard user, ask your organization admin. If you’re an admin but still don’t see it, check that your plan includes widgets (Growth plan or above).
Related Articles
- Widgets Overview — What widgets are and how they work.
- Creating a Widget — Step-by-step guide to creating a widget key.
- Installing and Customizing Your Widget — Customize appearance, behavior, and embed code.
- Widget Modes Explained — Understand the difference between Chat, Voice, and Chat & Voice.

