Invalid key error
# support
v
To resolve the "Invalid Key" error, ensure your web widget uses your public API key, not the private one. Here’s how your widget setup should look:
Copy code
html
<vapi-widget
  public-key="your-public-key"
  assistant-id="your-assistant-id"
  mode="chat"
></vapi-widget>
If you cannot change the key yourself, please ask your site administrator or developer to update the configuration as shown above. For more details, see the [Vapi web widget documentation](https://docs.vapi.ai/chat/web-widget). Source: - [Vapi Web Widget Documentation](https://docs.vapi.ai/chat/web-widget)
v
It is not a web widget on my website, it is the button "Talk" in dashboard on your website. Is it configurable?
s
Hi, thanks for reaching out.
Could you please share some more details regarding the issue you're facing?