How to Add Asyntai AI Chatbot to Wix

Step-by-step guide for Wix websites

Get Embed Code

Step 1: Get Your Embed Code

First, go to your Asyntai Dashboard and scroll down to the "Embed Code" section. Copy your unique embed code which will look like this:

<script async src="https://asyntai.com/static/js/chat-widget.js" data-asyntai-id="YOUR_WIDGET_ID"></script>

Note: The code above is just an example. You must copy your own unique embed code from your Dashboard as it contains your personal widget ID.

Step 2: Add Code Using the Wix Editor (Works on Free Plan)

This method works on all Wix plans, including free:

  1. Open your site in the Wix Editor
  2. Click the "+" button in the left toolbar
  3. Select "Embed Code" from the menu
  4. Choose "Embed HTML"
  5. Paste your Asyntai embed code
  6. Click "Apply"
  7. Position the embed element anywhere on the page (it won't be visible since the chatbot appears as a floating button)
  8. Click "Publish" to save your changes

Important: When using the Embed HTML method, you'll need to add the code to each page where you want the chatbot to appear. For site-wide installation on all pages at once, use the Custom Code method below (requires Premium plan).

Alternative: Using Custom Code (Premium Plan Only)

If you have a Wix Premium plan with a connected domain, you can add the code to all pages at once:

  1. Log in to your Wix account and go to your site's Dashboard
  2. Click Settings in the left sidebar
  3. Scroll down to the Advanced section and click Custom Code
  4. Click "+ Add Custom Code" at the top right
  5. Paste your Asyntai embed code in the text box
  6. Enter a name for your code (e.g., "Asyntai Chatbot")
  7. Under "Add Code to Pages", select "All pages"
  8. Under "Place Code in", select "Body - end"
  9. Click "Apply" to save

Tip: Selecting "Body - end" places the script just before the closing </body> tag, which is the recommended placement for chat widgets.

Step 3: Verify Installation

After adding the code, publish your site and visit it in a new browser tab or incognito window. You should see the chat widget button in the bottom right corner. Click it to make sure it opens and works correctly.

Not seeing the widget? Make sure your site is published (not just saved). Wix may take a few minutes to apply custom code changes. Try clearing your browser cache or viewing in an incognito window.