Embed to Wix websites

Want your AI Sales Agent working 24/7 right on your site? Here’s how to embed your MagicBlocks Agent into your Wix website, in minutes.

🔧 What You’ll Need Before You Start

Before we jump in, make sure you have everything ready:

✅ A published AI Agent built in MagicBlocks

✅ Your MagicBlocks Embed Code (here’s the step-by-step on how to get the code Go Live: Embedding Your Al Agent to a Website)

✅ Access to your Wix Dashboard

This method will embed your Agent across every page of your site, perfect for maximizing lead capture and instant engagement.

🛠 Step-by-Step: How to Embed Your AI Agent on Wix

1. Copy the Embed Code from MagicBlocks

Start in your MagicBlocks dashboard:

Go to Agents

Select the Agent you want to go live with

Navigate to the Go Live

Copy the code to Embed.1

This is the script you’ll paste into Wix to activate the Agent on your site.

🎥 This video will explain the step-by-step process on how to embed your AI Agent on Wix:

 

2. Log In to Wix

Head over to wix.com and sign in to your Wix account.

From your dashboard, select the site you’d like to install the AI Agent on.

3. Open Site Settings

In the left-hand menu, scroll down and click on Settings.2

4. Navigate to “Custom Code” Settings

Under the “Settings” menu, scroll to “Development & Integrations”, then click “Custom Code”.

This section lets you insert scripts that will run globally on your website.3

5. Paste Your MagicBlocks Embed Code

Here’s how to add your AI Agent script:

Click “+ Add Custom Code”4

Paste the script you copied from MagicBlocks5

Under “Place Code In”, select “Head”

6Toggle the switch to Applied on: All pages. Click Apply to save your changes7

8

Your AI Agent Is Live! 🎉

Once saved, your AI Agent is live and visible on the page! You’ll see the chat icon appear in the corner. Now it’s time to interact with your AI Agent and test it! Try different conversation flows and make sure everything runs smoothly.

Was this article helpful?