What is a "Widget Key" and where do I find it?
Last updated 29 November 2026 · 20 views
A Widget Key is a unique public identifier that links your website's chat widget to your Kerabie organisation. It is safe to expose in your frontend code.
What does a Widget Key look like?
Widget Keys follow the format wk_, for example:
wk_mystore_k9x2m4
Where to find it
widgetKey: "wk_...".Is it safe to expose publicly?
Yes. The Widget Key is intentionally public — it is embedded in your website's HTML source code, which any visitor can view. It only tells Kerabie which organisation's widget to load. It has no admin privileges and cannot be used to:
Think of it like a restaurant's table number — it identifies where you are, but grants no special access.
What if my Widget Key is misused?
The Widget Key can only be used to open a chat widget from an allowed domain. You can restrict which domains are allowed to load your widget under Settings → Widget → Allowed Domains. If a Widget Key is abused, contact support@kerabie.com and we will rotate it.
Multiple widgets
Each organisation has one Widget Key. If you need separate widgets for different websites (e.g., your main site and a client portal), you can create additional widget configurations from Settings → Widget → Manage Widgets (available on Pro and above).
Using the Widget Key in code
// Browser script
window.kerabie = { widgetKey: 'wk_mystore_k9x2m4' };
// React Native SDK
// Node.js / server SDK
const kerabie = new KerAbieSDK({ widgetKey: 'wk_mystore_k9x2m4' });