Skip to main content

Embedding the Clara widget

Give your customers a governed assistant on any page with one script tag. Configure the assistant (persona, knowledge, policies) in the portal, enable the Web widget channel, and paste your snippet:

<script
src="https://embed.clara.paresium.com/v1/widget.js"
data-assistant="ast_your_assistant_id">
</script>

How it stays safe

  • Allowed domains — the widget only starts sessions from origins you list in the portal; everything else is rejected at the edge, not in the browser.
  • Anonymous end-user sessions — your customers never need accounts; the widget mints short-lived, assistant-scoped session tokens.
  • Everything Recorded — each conversation runs through your assistant's configured backend and produces a settlement-stamped Record you can open from the portal.
Beta

The embed origin is live; widget conversations run against the beta ring. Domain allow-listing is enforced server-side — test pages must be on a listed origin.