You will need:
- A published bot
- A Wix website with a plan that allows adding custom scripts
- A domain connected to your Wix website
- Familiarity with HTML (if you want to embed in an HTML div)
Visual learner?Check out our Wix guide on YouTube, which teaches you how to build and embed a bot on your Wix site.
As a chat bubble
1
2
Add to your Wix website
Next, add the Webchat embed code to your Wix website:
- Login to your Wix dashboard and select Settings in the left navigation bar.
- Scroll to Advanced Settings, then select Custom Code.
- Select + Add Custom Code. Then, paste the Webchat embed code in code snippet field.
- Check the All pages option, then select Load code once from the drop-down menu.
- Check the Body - start option.
- Select Apply.
In an HTML div
You can also embed your bot in an HTML div. This is useful if you want more control over where your bot appears on your Wix site.1
2
Copy the script URL
Open the URL in your browser and copy the content of the page. It should look something like this:
https://files.bpcontent.cloud/20XX/0X/0X/XX/XXXXXXXXXXXXXXXX-XXXXXXXX.js
3
Add to your Wix site
Next, use your credentials to embed the Webchat in an HTML div on your website.
- Login to your Wix dashboard and select Edit Site in the upper-right corner.
- Select Add Elements from the left sidebar.
- Select Embed Code, then select Embed HTML.
- Adjust your HTML div as you’d like.
- Under Add your code here (HTTPS only), add the following code:
As a website
You can also embed your bot as a website via Webchat preview.1
Get your shareable link
- In Studio, select Share in the upper-right corner.
- Copy your bot’s shareable link.
2
Add to your Wix website
- Login to your Wix dashboard and select Edit Site in the upper-right corner.
- Select Add Elements from the left sidebar.
- Select Embed Code, then select Embed a site.
- In the What’s the website address field, paste your bot’s link, then select Apply.
Your bot is now live on your Wix site.