Skip to content

Website installation

Add an AI chatbot to Wix

Add the Chatsy website widget to your site and train the agent from public content. This guide does not include a Wix data connection or live order and customer data.

  • Use the site you already run

    Place the widget through Wix Settings > Custom Code without replacing the site's existing pages.

  • Keep content and records separate

    Public website pages can be added as knowledge sources, but the widget does not grant access to private platform records.

Scope

What this guide covers

This is a website installation path, not a native data connection.

Guide scope

  • Paste the Chatsy widget code into Wix Settings > Custom Code.
  • Wix runs custom code only on a published site with a connected domain.
  • Add public website pages as knowledge sources.
  • No direct access to Wix accounts, orders, forms, or customer records.

Setup guide

Install the widget in Wix

Follow the installation steps, then test the published widget.

Test before publishing

Check the widget on desktop and mobile, then verify the agent's sources and human handoff.

Open Readiness Quiz
  1. 01

    Prepare the agent and copy the code

    Add current public pages as sources and set up human handoff. Turn on Allow public chats, then copy the website script from the agent overview under Deploy, or from Settings → Sharing → Link and embed.

  2. 02

    Add the script in Wix

    In the site dashboard, go to Settings, then Custom Code in the Development & integrations section, and select Add Custom Code. Paste the script, apply it to All pages, and place it in Body - end.

  3. 03

    Publish and check the launcher

    Publish the site again, because saving alone does not make Wix changes live. Then check the live domain in a private window on desktop and mobile.

Limits and fit

Where this setup can fail, and when another path fits better.

Common failure modes

  • Allow public chats is off, so the script returns not found and no launcher appears.
  • A site Content Security Policy blocks the script or the chat iframe from the Chatsy app domain.
  • The primary domain changed, which removes custom code snippets in Wix.

Not a fit for

  • Sites that do not allow custom code.
  • Teams looking for direct access to platform records through this setup.

FAQ

Common questions

No. This is a widget installation guide. Chatsy does not currently connect to the Wix API through this setup.

No. The agent can answer from sources you add to Chatsy and can hand a conversation to your team. The embed code alone does not expose private platform data.

One script tag, such as <script src="https://chatsy.app/api/embed-script/YOUR_AGENT_ID"></script>. Copy the real tag from the agent overview under Deploy, or from Settings → Sharing → Link and embed. It loads only while Allow public chats is on.

The script runs once per page, so a second copy of the same tag is ignored. If two different agents' tags are on one page, only the first one loads. Remove the extra tag from page-level code or blocks.

The script loads from the Chatsy app domain and opens the chat in an iframe from the same domain. If your site sends a Content-Security-Policy header, allow that domain in script-src and frame-src, then reload and check the browser console.

Wix needs the site to be published with a connected domain, and Wix says newer security measures can block some custom code snippets. Check the live site's browser console for a blocked script.

Ready to add Chatsy to Wix?

Build the agent, add approved sources, then follow the installation steps above.