← Back to Website Platforms

Wix Chatbot

Requires premium plan with connected domain

Easy5 minutesTwo methods available

Plan Requirement: Adding custom code to Wix requires a premium plan with a connected domain. Free Wix sites cannot use custom code injection.

Method 1: Custom Code in Dashboard (Recommended)

Add the chatbot to all pages using Wix's Custom Code feature.

1

Open Site Dashboard

Go to your Wix dashboard (wix.com) and select your site. Click on "Settings" in the left sidebar.

Open Site Dashboard
2

Find Custom Code

Scroll down to the "Advanced" section and click on "Custom Code".

3

Add New Code

Click "+ Add Custom Code" button at the top right of the page.

4

Paste Your Code

Paste your Hyperleap embed code in the text box. Give it a name like "Hyperleap Chatbot".

<script>
   (function () {
        window.userChatbotConfig = {
            chatbotId: "YOUR_CHATBOT_ID",
            privateKey: "YOUR_PRIVATE_KEY",
        };
        const chatbotScript = document.createElement("script");
        chatbotScript.src = "https://chatjs.hyperleap.ai/chatbot.min.js";
        chatbotScript.async = true;
        document.head.appendChild(chatbotScript);
    })();
</script>
5

Configure Placement

Under "Add Code to Pages", select "All pages". Under "Place Code in", select "Body - end". This ensures the script loads before </body>.

Configure Placement
6

Apply and Publish

Click "Apply" to save. Then go to your site editor and click "Publish" to make the changes live.

Method 2: HTML Embed Element (Visual Editor)

Add the chatbot using the Wix Editor with the HTML iframe/embed element:

  1. 1Open your site in the Wix Editor
  2. 2Click the "+" (Add) button in the left sidebar
  3. 3Go to "Embed Code" > "Embed HTML"
  4. 4A gray box will appear - drag it to any position on your page
  5. 5Click "Enter Code" on the element
  6. 6Select "Code" mode in the popup
  7. 7Paste your Hyperleap embed code
  8. 8Click "Update" and publish your site

Note: The HTML embed element works on free plans, but the chatbot will only appear on pages where you add the element. Use Method 1 for site-wide deployment.

Method 3: Velo by Wix (Advanced)

For developers who want more control, use Velo (Wix's development platform):

  1. 1In the Wix Editor, click "Dev Mode" in the top menu
  2. 2Click "Turn on Dev Mode"
  3. 3In the left sidebar, find "Page Code" or "Site Code"
  4. 4For site-wide: Open masterPage.js
  5. 5Add the chatbot initialization code in the onReady function
  6. 6Save and publish your site
// masterPage.js or page code
$w.onReady(function () {
    window.userChatbotConfig = {
        chatbotId: "YOUR_CHATBOT_ID",
        privateKey: "YOUR_PRIVATE_KEY",
    };
    const chatbotScript = document.createElement("script");
    chatbotScript.src = "https://chatjs.hyperleap.ai/chatbot.min.js";
    chatbotScript.async = true;
    document.head.appendChild(chatbotScript);
});

Frequently Asked Questions

How do I add a chatbot to Wix?

The easiest way to add a chatbot to Wix is through the Custom Code feature: go to your Wix Dashboard > Settings > Advanced > Custom Code, click Add Custom Code, paste your Hyperleap embed script, set it to load on All Pages in the Body - end position, then Apply and Publish.

Can I add a chatbot to a free Wix website?

You can add a chatbot to specific pages on a free Wix site using the HTML Embed element (Add > Embed Code > Embed HTML). However, site-wide deployment using Custom Code requires a Wix premium plan with a connected domain.

What is the best chatbot for Wix?

Hyperleap AI is built for businesses that need a chatbot across Wix website, WhatsApp, Instagram, and Facebook Messenger. It handles customer questions 24/7 using your own knowledge base and takes less than 5 minutes to embed on any Wix site.

Does Wix have a built-in chatbot?

Wix Ascend includes basic live chat, but it does not offer an AI chatbot that answers questions automatically. For AI-powered automated responses using your own knowledge base, you need a third-party solution like Hyperleap AI.

How long does it take to set up a Wix chatbot?

Setting up a Wix chatbot takes about 5 minutes. Get your embed code from Hyperleap Studio (Settings > Embed), then add it to your Wix site via Custom Code or HTML Embed. The chatbot goes live as soon as you publish your site.

Need Help?

Our team is here to help you get set up.