Adding a ChatLab chatbot to your Wix website lets visitors interact with your AI assistant directly on your site. This guide walks through the steps to get your embed code from ChatLab and paste it into Wix.
Step 1 -- Copy the embed code from ChatLab
- Log in to ChatLab and select the chatbot you want to embed
- Click the Add to Website tab, then select Wix from the platform panel on the right
- Choose between Widget (chat popup triggered by a chat icon) or Iframe (always-visible chat embedded in the page). See What is the difference between widget and Iframe? for a comparison
- Click Copy to clipboard
Step 2 -- Add the code to Wix
- In your Wix dashboard, go to Settings
- Scroll down to the Advanced section and click Custom Code
- Click + Add Custom Code at the top right
- Paste the copied code into the text box
- Enter a name for your code (e.g., "ChatLab")
- Under Add Code to Pages, select which pages should display the chatbot -- choose All pages to show it everywhere
- Under Place Code in, select Head
- Click Apply
Verifying the installation
After saving, open your Wix site in a browser. You should see the chat icon appear in the corner of the page (for widget mode) or the chat window embedded on the page (for iframe mode). Click the icon to open the chat and send a test message to confirm everything is working.