Skip to content
QwryAI
Documentation
Pages

Integrations

Add an AI agent to your Weebly site

Put your QwryAI agent inline on a Weebly page with the Website iframe code and the Embed Code element

You can add your QwryAI agent to a Weebly site by pasting the Website iframe code into Weebly's Embed Code element. The chat window then sits inline on the page, exactly where you drop the element, rather than as a floating bubble. The iframe is included on every QwryAI plan.

Before you start

  • A QwryAI account with an AI agent. If you haven't built one yet, follow Build your first AI agent.
  • A Weebly site you can edit.

How to embed your AI agent

  1. Open your agent's Chat bubble

    In QwryAI, open the agent you want on your site, select Channels in the sidebar, then select Manage on the Chat bubble card. The inline iframe is set up from the same place.

    Channels › Chat bubble › Manage.
  2. Open Deploy and choose Website iframe

    Select Deploy in the top-right corner of the Chat bubble editor, then select Website iframe.

    Deploy lists every way to add your agent.
Website iframe opens its own sheet.
  1. Copy the code

    On the Website iframe sheet, select Copy under Iframe setup. Keep the address in the code exactly as copied: it identifies your agent.

    Copy the code under Iframe setup.
  2. Open your Weebly site editor

    Sign in to Weebly, open your site in the editor, and go to the page that should show the chat.

  3. Add the Embed Code element

    In the Build panel on the left, find Embed Code among the basic elements and drag it to where the chat should appear on the page.

  4. Paste the code

    Where you dropped the element, Weebly shows Click to set custom HTML. Select it, choose Edit Custom HTML, and paste your QwryAI code into the box. Then select anywhere outside the element.

How the iframe sizes itself

The code sets a fixed size: width="400" and height="600", in pixels. In practice:

  • Width stays at 400 pixels, whatever the width of the Weebly section or column.
  • Height stays at 600 pixels; it doesn't grow or shrink with the conversation.

To change the size, edit the numbers in the code before you paste it. width="100%" makes the chat follow the width of its column:

HTML
<iframe src="https://www.qwryai.com/embed/YOUR_EMBED_KEY" width="100%" height="550" frameborder="0" title="Chatbot" allow="microphone"></iframe>

Troubleshooting

The chat is cut off or has a lot of empty space

The chat's size comes from the width and height numbers in the code, not from the conversation. Edit them in Edit Custom HTML until the chat fits your page, then select outside the element and publish again.

Part of the code shows as text, or the page looks broken

The code was cut short when it was pasted. Delete the Embed Code element, copy the code again in QwryAI, and paste the whole thing into a new Embed Code element.

The chat shows an error or a blank box instead of your agent

Possible causes:

  • Specific domains is on in the Deploy sheet and your Weebly address isn't listed. Add the exact address your site runs on, such as https://www.acme.com (example value), one per line, and select Save domains. An entry without https:// or http:// is saved as https://.
  • The visitor's country is in Blocked countries under Guardrails › Country blocking.
List each address, one per line, then Save domains.

See Channels for the domain settings.

Frequently asked questions

Can I get a floating chat bubble on Weebly instead of an inline chat?

The floating chat bubble comes from the Website widget code, which has to run on the page itself. Pasted into an Embed Code element that runs in its own frame, the bubble stays clipped inside that element's box. The iframe in this guide doesn't have that problem.

Does the iframe support identity verification and event listeners?

No. Identity verification and event listeners work only with the chat bubble.

Can I add the agent to several Weebly pages?

Yes. Add an Embed Code element with the same code to each page where you want the chat. Pages without the element don't show it.

Will the chat say "Powered by QwryAI"?

Yes, by default. You can hide it with the Remove 'Powered By QwryAI' add-on. See Workspace settings.

Where do the chat's colors and wording come from?

From the Chat bubble's Display tab in QwryAI, the same settings the chat bubble uses.

Display › Style sets the chat's look.

Next steps

Explore the documentation