Skip to main content

Allowed Domains 🔒

Your Widget Key is embedded in your site's HTML — which means anyone who finds it could technically add it to their site. Allowed domains prevent this by making sure your widget only loads on domains you approve.

Configure this at Dashboard → Widget → Settings → Security.


Why this matters

Without domain restrictions, someone could copy your snippet, paste it on their site, and their visitors' conversations would show up in your inbox. That's confusing and messy.

With allowed domains set, any request from an unapproved domain is blocked before it reaches Konvoq.


Setting allowed domains

  1. Go to Widget → Settings → Security
  2. Under Allowed Domains, type your domain — e.g. yoursite.com
  3. Click Add
  4. Save

From that point on, the widget only loads on pages hosted on yoursite.com.


Wildcard subdomains

Use *.yoursite.com to allow all subdomains automatically:

PatternMatches
yoursite.comyoursite.com only
*.yoursite.comapp.yoursite.com, docs.yoursite.com, www.yoursite.com

Local development is always allowed

localhost and 127.0.0.1 are never blocked, regardless of your allowed domains setting. This means your team can always develop and test locally without changing the configuration.


:::warning Don't forget this before going live Setting allowed domains is part of the Go-Live Checklist. If you skip it, your widget key is unprotected. :::