AI

AI

•

•

How do you add an AI chatbot to your website?

Most businesses add an AI chatbot by signing up for a hosted chatbot tool, giving it the content it should answer from (your website pages, FAQs and…

Tocnis

Tocnis

AI and automation

Woman working on a laptop in a modern office

Table of contents

Share

Last checked:
Cover photo: Vitaly Gariev on Unsplash

Most businesses add an AI chatbot by signing up for a hosted chatbot tool, giving it the content it should answer from (your website pages, FAQs and policies), and pasting a short piece of JavaScript code it gives you into your site, or installing its plugin if you use WordPress. The installation itself takes minutes, and published prices for the smallest paid AI plans start at around $32 a month when billed yearly. The part that takes real time is preparing accurate content, testing the answers, and deciding when the bot hands a customer to a person.

What are your options?

There are three common routes, and they differ in how much control you get and how much upkeep you take on.

RouteHow it gets on your siteWho maintains itExample published price
Hosted chatbot builderCopy a script tag into your siteThe providerChatbase Hobby plan $32/month billed yearly, 700 message credits
Chat tool from a help desk or live chat companyScript tag or CMS pluginThe providerTidio Lyro AI add-on from $32.50/month for 50 AI conversations; Intercom Fin at $0.99 per outcome plus seats
Custom build on an AI model's APIYour developer adds a chat window that talks to your own serverYou or your developerModel usage is billed per token (the small chunks of text a model reads and writes); a separate Tocnis guide covers API costs

A hosted builder suits a business that wants a bot answering questions from its website and documents. A help desk tool suits a business that already has people answering chats and wants the bot to take the first reply and pass harder chats to them. A custom build suits a business that needs the bot to do things inside its own systems, such as check an order in a database, in ways the off-the-shelf tools don't support.

Tocnis builds custom AI assistants, so it has an interest in the third route. For many small businesses that only need answers to common questions, a hosted tool is cheaper to start and easier to keep running.

How does the installation work?

For a hosted tool, the steps look like this. They are taken from Chatbase's embed documentation, and other tools follow a similar pattern.

  1. Create the bot in the provider's dashboard and add your content.

  2. Open the deploy or channels section and choose the website widget.

  3. Copy the JavaScript snippet it gives you.

  4. Paste it into your site's <head> section or just before the closing </body> tag. Most website builders have a "custom code" or "code injection" box for this, so you don't need to edit files.

  5. Add your website's domain to the bot's allowed domains. Chatbase's troubleshooting notes say that if the chat bubble doesn't appear, you should check that your domain is allowed in the agent's settings.

On WordPress you can often skip the code. For example, the Tidio plugin on WordPress.org installs from Plugins, Add New, and then connects to a Tidio account from a new icon in the admin menu. WordPress.org listed it at 70,000+ active installs, version 8.0.1, last updated September 1, 2026.

One rule from the same Chatbase documentation applies to any tool: never put private information, such as a customer's account details, into the embed code, because anyone can read the code of a public page. Chatbase says to use its identity verification feature instead when the bot needs to know who a logged-in customer is.

What does a custom build involve?

A custom build has more moving parts, because the browser can't safely hold your AI account's secret key. OpenAI's ChatKit guide shows the usual shape: your server creates a chat session through OpenAI's API, tagged with an ID for the visitor, and passes only that session's temporary client secret to the chat window on the page.

The same page shows why maintenance matters. Its hosted option relies on OpenAI's Agent Builder, which OpenAI says "is scheduled to shut down on November 30, 2026," and it points new projects to its "advanced" ChatKit setup, which runs on your own servers instead. A business on that path has to move its bot within weeks. With a custom build, changes like this are your developer's job, and you should budget for them.

How is pricing measured?

Each provider counts usage differently, so compare them against your own monthly chat numbers rather than headline prices. All figures below are the providers' own published prices on November 7, 2026.

ProviderWhat you pay forPublished figures
ChatbaseMonthly plan with a set number of message creditsHobby $32, Basic $120, Business $400 a month billed yearly, for 700, 4,000 and 15,000 credits a month. No free plan, but a 7-day trial. Extra credits $40 per 1,000. Removing Chatbase branding is a $99/month add-on
IntercomPer "outcome" of the Fin AI agent, plus seats for human agents$0.99 per outcome, charged once per conversation. Seats from $29 per seat a month billed yearly (shown at $19 for new customers)
TidioChat plan plus an AI add-on sold in conversation bundlesFree plan with 50 conversations; Starter $24.17 a month for 100 conversations; Lyro AI add-on from $32.50 a month for 50 AI conversations

Read the definitions closely. Intercom counts an outcome when a customer confirms the issue is resolved, when the customer doesn't ask for more help after Fin answers, or when Fin completes a set workflow, which includes handing the chat to a person. So you can pay for a conversation where the customer simply left. Also check which billing period a price is for. Chatbase's prices are billed yearly at 20% off, and the crossed-out $40, $150 and $500 on its page match the monthly rate. Tidio's page doesn't label its figures, but $24.17 a month is $290 a year, which is ten months at $29, so it matches the "2 months free" yearly option. Intercom's page also opens on yearly billing.

What should the bot answer from?

The bot can only be as accurate as the content you give it. Before connecting it, gather the pages a customer would need: prices or how pricing works, opening hours, delivery and return rules, service areas, and how to book or contact you. Remove old pages and conflicting versions, because the bot can quote an outdated policy as confidently as a current one. Teaching an AI tool your business content is covered in depth in a separate guide on training ChatGPT on your own data.

Then write down what the bot must not do. Common examples are quoting a price that isn't published, promising a refund, or giving medical or legal advice. Check that the tool you pick lets you add instructions like these, and use the testing step below to see whether the bot follows them. Who is responsible when a bot gets something wrong is covered in a separate article on chatbot mistakes and liability.

Do you have to tell visitors it's AI?

In the EU, people must be told in most cases. Article 50 of the EU AI Act requires the provider of an AI system that talks directly with people (the company that builds it) to design it so people are told they are dealing with an AI, unless that is obvious to a reasonably well-informed person, and it applies from August 2, 2026. The EU's 2026 amendments to the Act, the Digital Omnibus, delayed other parts of the Act but did not change this duty. If you use a hosted tool, check that it does this, and if you build your own, the duty is yours. The simplest way to meet it is a name and greeting that say plainly it's an AI assistant. Other countries have their own rules, which a separate article on AI disclosure covers.

How do you test it before going live?

  1. Write down 20 to 30 real questions customers have asked you by email, phone or social media, including awkward ones.

  2. Ask the bot each one on a test page or the provider's preview, and mark each answer right, wrong or "should have handed over".

  3. Ask things it shouldn't answer, such as a discount you don't offer, and check it declines.

  4. Test the handover: ask for a person and confirm the message actually reaches someone, by email, inbox or live chat, during and outside working hours.

  5. Check the chat window on a phone, where it can cover buttons or the cookie banner.

  6. Run PageSpeed Insights on a key page before and after adding the widget. Chat widgets load extra code from another company's servers, and Chrome's developer documentation lists Intercom, Drift, Help Scout and Facebook Messenger as examples of chat embeds that can be loaded only when a visitor clicks, using a lightweight placeholder button until then.

After launch, read the transcripts weekly for the first month. They show which questions the bot gets wrong and which answers are missing from your website, and that second list is useful whether or not you keep the bot.

Sources

More from the blog

Have something in mind?

The first call is free.