Products SEO & GEO Agent Paid Ads Agent Website Agent Conversion Agent
How it works Pricing FAQ Blog Book a call

AI web components: what they are and how to use them

Updated · 7 min read

Short answer AI web components are ready-made AI features, mostly a chat assistant or a smarter site search, that you add to a website instead of building. Add one through your platform's own app, by pasting a vendor's code snippet, or through a developer. Feed it only your own pages, and treat its answers as yours.

Want help applying this to your business? Talk it through on a free 30-minute call.

Book a call

What are AI web components?

Ready-made parts of a web page that run on AI, so you add them rather than build them. For a small business, two matter: a chat assistant that answers visitors' questions, and a site search that understands plain questions.

"Web components" is also the name of a browser standard. MDN, the reference web developers use, describes it:

"Web Components is a suite of different technologies allowing you to create reusable custom elements — with their functionality encapsulated away from the rest of your code — and utilize them in your web apps." (MDN Web Docs: Web Components)

In plain words: a part built once that drops onto any page without clashing with its design.

You'll also see "AI components" used for design tools that generate page sections for whoever builds the site. Relume, for one, calls itself an AI website builder for marketing sites and exports to Figma, Webflow and React (Relume). Visitors never see those tools. If you're weighing one, see AI website builders.

ComponentWhat visitors seeWorth adding when
AI chat assistantA chat box that answers from your pages and takes contact detailsThe same questions come in daily and nobody can answer chats live
AI site searchA search box that takes questions and may write a short answerYou have hundreds of pages: a big FAQ, a resource library, a catalog
AI design toolsNothing; they help build the pagesYou or your designer are building or redesigning the site

How do you add AI chat or search to a website?

Three ways, easiest first. The first two need no developer.

WayWho does itExampleWatch for
Your platform's own appYouWix Smart ChatWorks only on that platform; uses its AI credits
A vendor's widget, pasted inYouIntercom's Fin, Tidio's LyroSome plans block added code; one more script on every page
Built on an AI serviceA developerGoogle Cloud's Agent SearchYou own the upkeep, security and bill

Your platform's own app

Wix Smart Chat (formerly AI Site Chat) is the clearest case. Wix says "The Smart Chat's AI learns from your site content and from the training you provide" (Wix Help: Smart Chat overview). You can exclude pages, which "only prevents the AI from using that page to answer questions" (Wix Help: Excluding site pages). It spends the AI credits in your Wix plan, and when they're gone, "the Smart Chat switches to offline mode" (Wix Help: Using AI credits).

A vendor's widget, pasted in

Sign up with the vendor, point it at your pages, copy the snippet it gives you, and paste it where your platform accepts code:

PlatformWhere the snippet goesWhat you need
WixSettings, then Custom Code under Development & integrationsSite published, with a connected domain (Wix Help: Embedding custom code)
SquarespaceCode Injection"Core, Plus, Advanced, and some legacy billing plans" (Squarespace Help: Code injection)
WordPress.comInstall the vendor's pluginAny paid plan: Personal, Premium, Business or Commerce (WordPress.com Support: Install a plugin)

Then try it on your own phone before anyone else does.

Built on an AI service

A developer connects your site to an AI service and designs the box around it. This suits big sites, such as search across hundreds of articles. Google Cloud's Agent Search, for example, builds search over a website and can "generate grounded answers" from it (Google Cloud: Agent Search pricing).

You also take on security. First on OWASP's 2025 list of risks for AI apps is prompt injection: a visitor types text that makes the AI do what you never intended. One of OWASP's fixes is to "Implement human-in-the-loop controls for privileged operations" (OWASP: LLM01:2025 Prompt Injection). In owner terms: the bot shouldn't issue refunds, move bookings or open customer records without a person approving.

Which should a small business add first?

Usually chat, not search. On a site of a few dozen pages, a menu gets people where they're going. What visitors still ask is about your area, price and timing, and a chat can answer that at 9 pm. Search earns its place once you have hundreds of pages.

If most customers call rather than browse, start with the phone: AI receptionist for a small business. Whether chat brings leads at all, and who should answer it, is in live chat for a website.

What to check before you switch it on

  1. What it learns from. Only published pages and answers you wrote. Exclude old offers and anything private. Wix warns that its app "will scan and use public data on your site, including personal information that's presented there" (Wix Help: Smart Chat overview).
  2. What it must not answer. Quotes, diagnoses, refunds, and legal or medical questions go to a person. The vendor won't carry the risk: Wix says its AI "may generate and present inaccurate or misleading information" and "Wix assumes no liability for these generated results" (Wix Help: Smart Chat overview). Nor can you blame the bot: in 2024 a British Columbia tribunal held Air Canada responsible for wrong fare advice from its website chatbot (Moffatt v. Air Canada, 2024 BCCRT 149).
  3. That it says it's a bot. Some US states require it, including California and Maine; see live chat for a website.
  4. What happens when it can't help. A call button, a form or a hand-off to you, plus a clear message when it's offline.
  5. Health details. Wix makes manual chat the default on HIPAA sites and advises against its AI chat there, because "it's not HIPAA compliant" (Wix Help: Smart Chat overview). For clinics: is ChatGPT HIPAA compliant.
  6. Speed. Google's web.dev: "Third-party scripts are a common cause of performance slowdowns caused by resources outside the site owner's control." Google's Lighthouse docs say chat widgets can use a facade: a lookalike button that loads the real widget only when clicked. Ask the vendor for one. More in Core Web Vitals.
  7. Keyboard use. Press Tab: can you open the chat, type and close it without a mouse? WCAG 2.2 asks that "All functionality of the content is operable through a keyboard interface" (W3C: Understanding 2.1.1 Keyboard). See ADA website compliance.

What do AI web components cost?

Most charge by use, not a flat fee. Prices as listed on each vendor's page in November 2026, in US dollars:

ToolListed priceWhat you pay for
Wix Smart ChatFree trial of 50 conversations, then your plan's AI creditsCredits shared with Wix's other AI tools
Intercom Fin$0.99 per outcome; with your own helpdesk, $49 a month minimum (includes 50 outcomes); with Intercom's, plus $19 per seat a monthAt most one outcome per conversation
Tidio LyroFirst 50 conversations free, once; then from $39 a month for 50, or $32.50 a month billed yearlyAI conversations
Google Cloud Agent Search10,000 queries a month at no cost; then $4.00 per 1,000 for the edition with website searchEach search, plus storage

Read what counts as a paid outcome. Fin counts a resolution when "No further help is requested after Fin's last answer" (Fin: Pricing). That's a visitor who stopped asking, not a booked job. Count bookings that start in the chat instead: GA4 key events.

Example

Illustrative cases. Volumes and costs are invented for the example.

A plumber on Wix

He adds Smart Chat, writes answers for his service area, after-hours fee and hours, and excludes old promotion pages. Job quotes go to a "Call now" button. He gets about 60 chats a month. Each Friday he reads the transcripts and adds an answer for every question the bot missed.

A dental clinic on Squarespace

On the Core plan, the office manager pastes a chat vendor's snippet into Code Injection. The bot covers hours, insurance and the booking link; pain or treatment questions go to the front desk. She checks the vendor's HIPAA terms first.

An accounting firm with 400 articles

A Calgary firm pays a developer $3,000 CAD to add AI search over its tax library. At about 3,000 searches a month, it stays inside Google's 10,000 free queries, so the developer's fee is the main cost.

FAQ

Do I need a developer to add AI chat to my website?

Not for your platform's own chat app or a vendor's pasted widget. You need one for custom work, like AI search across a large library.

Will an AI chat widget slow down my website?

It can: it's one more script on every page. Ask for a version that loads on click, and compare Core Web Vitals before and after.

Is an AI web component the same as a plugin?

No. A plugin adds features to WordPress; a web component is a browser standard for self-contained page parts. Chat plugins usually just place the widget.

Can an AI chat book appointments?

Some can, once connected to your booking tool; Fin says it "Takes action to update external systems" (Fin: Pricing). Test every booking path yourself first.

Different for you?

Keep learning

NextChatGPT prompts for website copy: home, service and about pagesCopy-ready ChatGPT prompts for a service business's home, service and about pages, how to make drafts sound like you, and what to check before publishing.

Do it yourself

Webflow SEO checklist: every setting to check, and where it isA Webflow SEO checklist for a small business site: where each on-page, technical and local setting lives in Webflow, and what Google actually requires.

Ask us one question

One line is enough. We reply by email.

Sources

  1. MDN Web Docs: Web Components
  2. Relume: AI website builder
  3. Wix Help: Wix Smart Chat, an overview
  4. Wix Help: Wix Smart Chat, using AI credits
  5. Wix Help: Wix Smart Chat, excluding site pages
  6. Wix Help: Embedding custom code on your site
  7. Squarespace Help: Customize parts of your site with code injection
  8. WordPress.com Support: Install a plugin
  9. Fin by Intercom: Pricing
  10. Tidio: Pricing
  11. Google Cloud: Agent Search pricing
  12. OWASP Gen AI Security Project: LLM01:2025 Prompt Injection
  13. Moffatt v. Air Canada, 2024 BCCRT 149 (Civil Resolution Tribunal, February 14, 2024)
  14. web.dev: Load third-party JavaScript
  15. Chrome for Developers: Lazy load third-party resources with facades
  16. W3C: Understanding WCAG 2.2 Success Criterion 2.1.1 Keyboard