Skip to content

Integration

Add an AI chat widget to your Wix site

Kit is an AI support agent that learns your business from your website and answers your visitors in chat. On Wix it goes in as Custom Code, set to run on all pages.

Hire KitFree to try. No card needed.

First, two things in Kit

Kit learns your business from your website, and you check its answers before anyone else sees it. Once Kit is live (with a plan, or with Go live free when Kit offers it), open the install code from your dashboard: click Get the install code on the “Put Kit on your website” card if you see it (it carries your agent’s name), or Install code on your Overview. Then, in this order, before you go to Wix:

  1. Under Add your website (or Change allowed websites), add your site and click Save allowed websites. Kit answers only on the websites you list, so use the address your visitors see, and include “www” if your site uses it.
  2. Click Copy snippet. Copying unlocks once a website is saved. It’s one line, with your own agent’s ID where this one says your-kit-id:
<script src="https://kit.ai/widget.js" data-bot="your-kit-id" defer></script>

Add it as Custom Code

Wix runs custom code only on a published site with a connected domain, so check both first. Then:

  1. In your site’s dashboard, go to Settings and click Custom Code in the Development & integrations section.
  2. Click + Add Custom Code and paste the snippet. Name it Kit.
  3. Under Add Code to Pages, choose All pages. That covers the pages you add later too. Wix also asks whether to load the code once per visit or on each page a visitor opens: leave it as it is for now.
  4. Under Place Code in, choose Body – end, then click Apply.

Then open your published site, move between two pages, and check the chat button is on both. If it isn’t, go back to Custom Code, switch the loading choice and check again.

Add it once: two copies would mean two chat buttons.

If the chat doesn’t show up

  • Check the address. Add your connected domain to Kit’s allowed websites, “www” included if your site uses it.
  • Changed your domain? Wix deletes your code snippets when you assign a different domain to your site, so add Kit again.
  • Blocked by Wix? Wix blocks some code snippets, and sends questions about third-party code to its provider. If it blocks this one, check Wix’s instructions below, or email hello@kit.ai and we’ll help.

Wix explains Custom Code in its own help article.

Check it, or hand it off

Open your published site at its connected domain and look for the chat button. If the site was already open, reload it first. Ask it something a customer would ask and wait for the answer. Then go back to Kit and click Check for a visitor reply (it reads Check for a new visitor reply once Kit has a reply on file). Kit shows the latest reply on any of your allowed websites, so check that the website and the time match your test.

If someone else looks after your Wix site, find Who looks after your website? next to the install code, choose Someone helps me with my website and click Copy installation instructions: the snippet, where it goes and how to test it, in one message. They won’t need access to your Kit account, and Kit doesn’t send anything for you.

Questions people ask

Does my Wix site need a connected domain?

Yes. Wix runs custom code only on a published site with a connected domain. Add that domain to Kit’s allowed websites too.

Where on the page should the code go?

Choose All pages and Body – end, so Kit loads after the rest of your page, including on pages you add later. Then move between two pages of your published site to check the chat button stays.

Is there a Kit app for Wix?

No. There’s nothing to install from a marketplace. Kit is one line of code that you add in Settings, under Custom Code.

Get your line of code

Show Kit your website and check its answers. When you’re happy, copy your snippet into Wix’s Custom Code.

Free to try. No card needed.