Wix chat integration

Connect Wix to the same authenticated host page used by your web and mobile clients.

Embed a Site setup

In the Wix Editor, add Embed a Site and supply your authenticated HTTPS chat host page URL. Establish authentication inside that page; Wix HTML embeds have a separate origin. If third-party sign-in is blocked, open the page with the launcher below instead.

Wix setup documentation

HTML
<!-- Wix link: set a button destination to the same URL -->
<a href="https://chat.example.com/chat" target="_blank" rel="noopener">
  Open your account’s chat
</a>

Build the chat page

Your team hosts https://chat.example.com/chat, implements the authenticated backend ticket endpoint, then installs the module-loader example on that page. Authenticate the user there with your application’s own sign-in. Never put a server key or mint token in a platform block or URL.

Allowed origin and renewal

Save the exact HTTPS origin of your chat host page in Integrations → Allowed sites, then publish branding. Its loader calls your backend through getSession, with independently pinned verification keys. Return fresh ticket, nonce and signedConfig values for the same signed-in user, with Cache-Control: no-store. The loader owns ticket redemption and its in-memory chat session.

Before production

Test the published Wix launcher, sign-in, first turn, Stop, history, receipts, renewal and logout. If nesting your host page, allow every ancestor site origin too and test browser cookie restrictions; a top-level launcher avoids third-party sign-in dependencies. Use Getting started and Support for provisioning help.