How to Add a Full-Page AI Support Chat to Your Website

A tested guide to putting your AI support agent on a page of its own with AssistLoop's iFrame tag: the WordPress Custom HTML block, the user roles that can save an iframe, a height that fits under your header, and how to keep the corner bubble off that page.

AssistLoop Team11 min read
How to Add a Full-Page AI Support Chat to Your Website
On this page

A chat bubble in the corner is easy to miss, and a Help page full of links still leaves the visitor hunting. This guide puts your AI support agent on a page of its own with one iframe tag, so the page itself is the conversation. We build it in WordPress, where the tag goes into a Custom HTML block, and it covers the three things we hit in testing: an iframe that vanishes on save, a chat taller than the screen, and two chats on one page. Plan on ten minutes.

Last updated: October 2026. We recorded the install on a WordPress 7.1 site in mid-October 2026. On 24 October 2026 we copied the tag again from the dashboard and placed it on a fresh WordPress 7.1.3 site. We saved it under three user roles and measured the page on a desktop and a phone screen.

Quick answer
To add a full-page AI support chat to your website, copy AssistLoop's iFrame tag and paste it on its own page, such as Help, in a custom HTML block.

  1. In AssistLoop, open Widget Installation, choose iFrame and click Copy.

  2. In WordPress, add a page called Help and add a Custom HTML block.

  3. Click Edit HTML, paste the tag, then Update.

  4. Publish the page, open it and ask the chat a question.

A shopper wants to send back a vase they no longer like. They click Help in the menu, and instead of a list of links the page is a chat with the shop's agent, which tells them the return rules in two sentences.

That shop is Tidewell Ceramics, our fictional pottery brand, here running as a WordPress site on the default Twenty Twenty-Five theme. Its agent, Pearl, had already learned Tidewell's website in AssistLoop. Every screen below comes from that site.

The video runs a minute and twenty seconds, from copying the tag to the answer on the Help page.

What you need

  • An AssistLoop agent trained on your site. No account yet? Sign up, choose Create Agent, give it a name and enter your website address. AssistLoop reads the pages it finds, and that's what the agent answers from.

  • A page you can paste HTML into. In WordPress that's any page, through the Custom HTML block, as long as you sign in as an Administrator or an Editor (the next section explains why).

  • A name for the page. We used Help. Contact, Support or Ask us work just as well.

A full page or a chat bubble?

An iframe shows one web page inside another. AssistLoop's iFrame tag loads the whole chat window into your page at full width, where the regular install adds a floating button to every page. Pick by what the visitor should see.

You wantUseGoes on
Chat on all pagesBubbleEvery page
A help pageiFrame tagOne page
BothBothBubble off Help

The two installs work side by side. If your site already has the bubble, the last section shows how to keep it off the Help page.

Three cards joined by dashed lines: AssistLoop's Installation Code card with the iFrame tag and a Copy button, the same tag pasted into WordPress's Custom HTML box, and the published Help page whose content is the chat window.

The tag from the dashboard, the block it goes into, and the page it turns into a chat.

Why the iframe can vanish when you save

WordPress removes iframes from content saved by users who lack one capability, unfiltered_html. The WordPress documentation says: "Allows user to post HTML markup or even JavaScript code in pages, posts, comments and widgets." On a normal single site, only Administrators and Editors have it, and on Multisite only Super Admins do (Roles and Capabilities, WordPress.org, updated September 2026).

We saved the same Custom HTML block as an Administrator, an Editor and an Author. Authors can't create pages, so their copy went into a post. The Administrator's and the Editor's pages kept the iframe. The Author's post kept only the comment line above the tag: the iframe itself was gone, and WordPress reported the save as a success.

If the chat disappears after you save, check which role you're signed in with.

Step 1: Copy the iFrame tag from Widget Installation

Open your agent in AssistLoop, choose Widget Installation in the sidebar and pick iFrame, the last of the platform tabs. Its three steps say it plainly: copy the snippet, paste the single tag into your page with no JavaScript or extra CSS, then save and check the page. Click Copy on the Installation Code card.

AssistLoop's Widget Installation page with three numbered highlights: 1, the iFrame tab; 2, the step saying to paste the single iframe tag with no JavaScript or extra CSS needed; 3, the Copy button on the dark Installation Code card.

This is what Copy put on our clipboard, with YOUR_AGENT_ID where your own ID goes:

<!-- AssistLoop Chat Widget (iFrame) -->
<iframe
  src="https://assistloop.ai/embed/chatwidget?agentId=YOUR_AGENT_ID"
  style="width:100%;height:100vh;border:none;display:block;"
  allow="microphone; autoplay"
  title="AssistLoop Chat">
</iframe>

Keep the title attribute. Screen readers announce an iframe by its title, and many sites still miss it: in the 2024 Web Almanac, Lighthouse's frame-title check passed on 51% of sites, up from 36% in 2022. Change the text to suit your page, such as "Tidewell support chat", if you like.

Step 2: Add a Help page with a Custom HTML block

In WordPress, go to Pages → Add Page and type the title. Press Enter, type /html and pick Custom HTML. On WordPress 7.1 the block shows an Edit HTML button, which opens a box with HTML, CSS and JavaScript tabs. Paste the tag on the HTML tab and click Update.

The WordPress editor's Edit HTML box with three numbered highlights: 1, the HTML tab; 2, the iFrame tag pasted in, with the chat widget address, the style line and the title; 3, the blue Update button.

Our October paste. Today's Copy also adds a comment line above the tag. Leave the CSS and JavaScript tabs empty; the tag needs neither.

Step 3: Publish the page and open it

Back in the editor, the block now previews the chat. Click Publish, then Publish again in the panel that asks you to confirm. WordPress says the page is live and offers View Page.

The WordPress editor after publishing, with three numbered highlights: 1, the Custom HTML block previewing the chat window; 2, the message saying Help is now live; 3, the View Page button.

The block's toolbar sits over the page title while the block is selected.

The Twenty Twenty-Five theme added the new page to the site's menu by itself, because its menu lists every published page. If your menu was built by hand, add the page in the Site Editor's Navigation block (block themes) or under Appearance → Menus (classic themes).

Step 4: Ask a question on the page

On the published page, start a chat and ask something your site answers. As a shopper, Elena Costa, we asked "Can I return a vase if I change my mind?" Pearl's pre-chat form asked for a name and an email first, with an optional order number we skipped. Then it answered:

Hi Elena, yes—an unused vase can be returned within 30 days of delivery for a full refund. Return shipping is free for US orders.

The Help page's chat with three numbered highlights: 1, the shopper's question about returning a vase; 2, the short pre-chat form with the name and email filled in and the order number skipped; 3, the agent's answer about returns.

Every fact in that reply is on Tidewell's Returns page, which the agent had read during training.

Tidewell's Returns paragraph beside the agent's reply, with the same three facts ringed in each: returns within 30 days, a full refund, and free return shipping for US orders.

Want a Help page that answers like this?
One tag on one page. Free plan, no card.

Build my help page →

Make the chat fit under your header

The tag sets the chat's height to 100vh, the full height of the browser window. On a page that holds only the tag, that fills the screen exactly: our plain HTML test page, with its body margin set to 0, had no scroll bar at all.

On a WordPress page, the header and page title sit above it. On our 1440 × 900 desktop screen the chat started 284 px down, so its bottom, with the Start a New Chat button, was below the fold. On a 390 px phone screen it started 185 px down, with the same result.

Subtract the space above the chat in the style line:

style="width:100%;height:calc(100vh - 300px);border:none;display:block;"

With that change, the whole chat, button included, showed without scrolling on both screens. We also tried 75vh: it fit on the phone but cut the button on the desktop. Measure your own theme and adjust the 300.

The Tidewell Help page with the shorter chat and two numbered highlights: 1, the page title under the site header; 2, the Start a New Chat button, now visible without scrolling.

Keep the chat bubble off the Help page

If you installed the bubble with AssistLoop's WordPress plugin, the Help page gets both: the full-page chat and the bubble in the corner, with its greeting. We saw exactly that with the official WordPress plugin (version 1.0.2) switched on.

The plugin adds the bubble through WordPress's footer hook, and this snippet removes it on the page whose slug is help, nowhere else. Add it to your child theme's functions.php or a code snippets plugin:

// Keep the chat bubble off the Help page, which has the full-page chat
add_action('wp', function () {
  if (is_page('help')) remove_action('wp_footer', 'assistloop_embed_widget');
});

We tested it as a must-use plugin file. With it in place, our Help page loaded no bubble script and one chat, and the Shop page still had the bubble. Change help to your page's slug if you named it differently.

If the chat doesn't show

  • The block is empty after saving. Your user role can't save iframes. Sign in as an Administrator or Editor, or ask one to paste the tag.

  • The page shows the code instead of the chat. The tag probably went into a Code block, which displays code as text. Delete it and use a Custom HTML block.

  • A blank frame. Check that the address ends with your full agent ID; Copy includes it. Then try a private window with extensions off, in case a blocker hides the frame.

  • The preview inside Edit HTML shows an error. That box runs the code in a sandbox where the chat can't load. The block preview and the published page are what count.

  • Two chats on the page. The plugin's bubble loads on every page, Help included. Use the snippet in the section above.

How we tested this

  • The site: Tidewell's pages on a self-hosted WordPress 7.1 site with the Twenty Twenty-Five theme, served at the Tidewell demo address. The screens in the steps are frames from the October recording.

  • The agent: Pearl, which learned Tidewell's live pages before filming and asks every new visitor for a name and email first. We quote its Step 4 reply exactly.

  • The recheck, 24 October 2026: a fresh WordPress 7.1.3 install and the tag copied from the dashboard that day. We saved it with WP-CLI as an Administrator, an Editor and an Author, and measured the page in Chromium at 1440 × 900 and 390 × 844. We also loaded the tag on a bare HTML page and tested the bubble snippet with the official plugin.

  • Not tested: WordPress.com, page builders such as Elementor, and the embed blocks of Wix, Squarespace or Webflow. We also didn't try the agent's page rules on a page that holds the iFrame.

  • The figures: frames from the recording and screenshots from the recheck, cropped, with pins and outlines drawn around the interface, never on it. One frame was edited: in Step 2, the Edit HTML box's own preview pane is blank because we blanked its sandbox error (see If the chat doesn't show).

Frequently asked questions

Does the full-page chat work outside WordPress?

Yes, on any page that accepts raw HTML. We loaded the same tag on a plain HTML page and it filled the window. On other site builders, use their custom code or embed element; we haven't tested those here.

Can I keep the chat bubble on my other pages?

Yes. The iFrame tag only touches the page it sits on, and the bubble install stays as it was. Remove the bubble from the Help page alone if you don't want two chats there.

Is it the same agent as the chat bubble?

Yes. The tag loads the same agent, with the same training and the same pre-chat form.

Can I make the chat smaller than the whole screen?

Yes. Change the height in the style line, for example to calc(100vh - 300px), which fit both our desktop and phone screens. The width follows the page's content column.

Does the full-page chat work on phones?

Yes. On a 390 px phone screen it filled the theme's 330 px content column. With the default 100vh height the Start a New Chat button sat below the fold; the calc() height above fixes that.

Back on Tidewell's site, the vase question gets its answer on the Help page itself, and the menu link makes that page easy to find. Give your own Help page an agent that already knows your site, and if you'd rather have the chat in the corner of every page, here's the WordPress plugin install.

AssistLoop logo, an indigo speech bubble

Written by AssistLoop Team
Updated October 2026

We build AssistLoop, an AI support agent that answers customers from your own website and documents, and hands the chat to your team when a person should step in.

★★★★★ "It's also flexible and you can customize it to suit your brand." Verified User, small business, on G2

Build Custom AI Chatbot for Your Business FREE

Create intelligent AI agents that handle customer support, boost conversions, and work 24/7 for your business.

Build Your Agent
All articles
  • Chatbot Support Workflow Automation Needs a Stop Rule

    Chatbot support workflow automation should begin with a decision and end with a stop rule. This playbook shows how to design answer, lead capture, handoff, and action workflows that have clear owners, safeguards, and useful metrics.

  • What Should a Chatbot Answer? A Support Team Framework

    A support-specific framework for deciding which questions an AI agent should answer, clarify, verify, or hand off. It shows CX leads how to turn conversation logs and approved sources into safer automation.

  • Chatbot Customer Support ROI: A Payback Playbook

    Build a buyer-controlled chatbot customer support ROI model from support volume, handling time, labor cost, deflection, handoff, and product cost. A fictional worked example and sensitivity table show how to test payback before starting a pilot.

Get started

Build your own
support agent.

Free plan, no credit card. Train it on your files, website, text and Q&A, then see how it answers.