Skip to main content
The web-chat widget is keyed to your organization and gated by an allowed origins list — not by keeping any value secret.

How the gate works

  • The embed script is public by design (it’s in every visitor’s page source). What it can do is gated server-side: a chat session is only minted when the request’s Origin is on your allowed origins list.
  • Lifting your snippet onto another domain shows the launcher chrome but cannot start a chat — the session request is refused with a 403.
  • You control the allowed list on Website Widget → Setup, next to Install. Add exact origins (https://example.com) or a single-label wildcard (https://*.example.com).

Install codes (self-service)

To let a site owner or agency install the widget without a Rivvi login, generate an install code on the Install tab. They paste it into the WordPress plugin (or redeem it via the pairing endpoint), which adds their origin to your allowed list and confirms the install. Codes are single-use and short-lived; anyone who merely scrapes your org id can’t self-authorize — only a valid code or an authenticated operator can change the allowed list.

Install detection

Rivvi records where the widget is actually observed loading, so the Install tab can tell the difference between:
  • Live on your site — the widget is loading on an approved site.
  • The snippet is loading on a site you have not approved. The program may say Detected off-list. Review sites to add that origin.
  • Went quiet — The snippet was loading, then stopped.
  • The snippet has not been seen on your site yet. It is allow-listed, or not, but no page has loaded it.
  • The widget will not load until you add a site. Allowed origins are empty.
Detection never changes your allowed list on its own — observing an origin is not the same as authorizing it.