Back to Blog How-To

How to Add an AI Chatbot to Any Website in 30 Seconds

May 2026 - 3 min read

Adding an AI chatbot to a website used to mean weeks of development, API integrations, and conversation flow design. In 2026, it takes one script tag and about 30 seconds.

Here's exactly how to do it.

What you need

That's it. No API keys, no server setup, no npm packages.

Step-by-step guide

1

Create your hub

Go to clientrelay.tech/app and sign in with Google. Your hub (your agency/business account) is created automatically. Takes about 5 seconds.

2

Add a client

In the Clients section, enter a name (e.g., "My Business") and paste the website URL. The AI will crawl the site and learn the business - products, services, FAQs, contact info, everything on the public pages.

3

Copy the embed code

Go to the Widget section. You'll see a single script tag like this:

<script
  src="https://clientrelay.tech/widget/chatbot.js"
  data-client="your-client-slug"
></script>
4

Paste it on your website

Add the script tag to your website, just before the closing </body> tag. Save and publish. The chatbot bubble appears in the bottom-right corner immediately.

That's it. Seriously.

The chatbot is now live on your website. It will:

Optional customization

You can customize the chatbot directly from the dashboard - no code changes needed:

All of this is configured in the dashboard. The embed code stays the same.

Works on any platform

The chatbot uses Shadow DOM technology, which means it's completely isolated from your website's CSS and JavaScript. It works on:

Zero CSS conflicts. Shadow DOM isolation means the chatbot won't break your website's layout, and your website's styles won't affect the chatbot. It just works.

What happens next

Once the chatbot is live, you can monitor everything from the dashboard:

The chatbot also gets smarter over time. It learns which pages on your site get referenced most often and caches that knowledge for faster, more accurate responses.

If you manage multiple websites, check out how a white-label chatbot platform lets you handle all of them from one dashboard.

Ready to try it?

Your first chatbot is free. No credit card needed.

Start free