New to Marqeable? Check out our platform for content + workflow automation

How to Add an AI Chat Widget to Your Website

Adding an AI chat widget to your website is a one-line code change: you copy a small script and paste it into your site before the closing </body> tag - or into your site builder’s custom-code box. It then loads on every page automatically. No developer, no plugin maze. Below are the exact steps for WordPress, Shopify, Webflow, Squarespace, Wix, and custom sites, plus the part most guides skip: the setup that actually makes the widget useful.

The 60-second version

Every modern AI chat widget gives you a snippet that looks like this:

<script src="https://app.yourprovider.com/widget/loader.js" data-key="YOUR_PUBLIC_KEY" async></script>

Paste it once, site-wide, before </body>. That is it - the widget appears in the corner of every page. The platform-specific steps below are just where to paste it.

Keep the async attribute. It tells the browser to load the widget without blocking your page, so your site stays fast.

WordPress

Two easy options:

Shopify

  1. From your admin, go to Online Store > Themes.
  2. On your live theme, click … > Edit code.
  3. Open theme.liquid, scroll to the bottom, and paste the snippet right before </body>.
  4. Save. It is now live across your storefront.

Webflow

  1. Open Site settings > Custom code.
  2. Paste the snippet into the Footer Code box (before </body>).
  3. Save, then Publish the site.

For a single page only, use the page’s own Settings > Custom code instead.

Squarespace

  1. Go to Settings > Advanced > Code Injection.
  2. Paste the snippet into the Footer box.
  3. Save.

(Code Injection is available on Business and Commerce plans.)

Wix

  1. In your dashboard, open Settings > Custom Code (under Advanced).
  2. Click Add Custom Code, paste the snippet, and name it.
  3. Set it to load on All pages, place it in the Body - end, and apply.

Custom, React, or Next.js sites

The part that actually matters

Installing the widget is the easy 5 minutes. The setup that decides whether it works is feeding it your real business information - your hours, services, pricing, service area, and FAQs - so its answers are accurate instead of generic. A widget grounded in your business answers “do you cover my area on weekends?” correctly. A generic one guesses, and a wrong answer is worse than no widget. Good onboarding walks you through this; budget more time for it than for the install.

Two more things worth setting before you go live:

Verify it is working

  1. Open your site in an incognito window and confirm the widget appears.
  2. Ask it a real question only your business would know (“what are your Saturday hours?”) and check the answer.
  3. Run through a capture: give it a name and number and confirm the lead shows up in your inbox.
  4. Check it on mobile - that is where most visitors are.

Frequently asked questions

How do I add an AI chat widget to my website?

Paste the widget’s embed script before your closing </body> tag, or into your site builder’s custom-code/footer box. It loads site-wide automatically.

Do I need a developer?

No. On WordPress, Shopify, Webflow, Squarespace, and Wix you paste the snippet into a settings box yourself in a few minutes.

Will it slow down my site?

No - a well-built widget loads asynchronously, so it does not block your page from rendering.

Can I show it on some pages only?

Yes. Most builders let you scope custom code to specific pages, and most widgets let you target which pages they appear on.

The bottom line

Adding an AI chat widget is a paste-one-snippet job on every major platform. The work that earns you leads is what comes after the install: grounding the widget in your real business, routing leads to one inbox, and setting clean hand-off rules. Do those, and the widget starts catching leads the same day.

Get a widget that is easy to install and grounded in your business: Marqeable’s AI website chat is a single snippet, answers from your real business info, and drops qualified leads into one shared inbox.


Marqeable is the AI marketing platform that helps you generate more leads and qualify them instantly - across website chat, text, email, and social. Website chat and SMS replies land in one inbox with automatic STOP/opt-out handling and quiet-hours sending; for founding customers, AI-drafted replies and email replies in the same inbox are live too. Request founding access to lock in beta-tier pricing.

Marqeable
© 2026 Marqeable. All rights reserved.