Sector 84, Gurgaon 122004, Haryana · Monday to Saturday, 9 AM to 5 PM +91 9818450754 [email protected]

How to Build an AI Chatbot for Your Business Website

AI chatbot on a business website answering a customer question
In this article
  1. What is an AI chatbot for a business website?
  2. Rule based, AI or hybrid: which chatbot do you need?
  3. Why should your business website have an AI chatbot?
  4. How do you build an AI chatbot for your business website?
  5. Step 1: Give the chatbot one main job
  6. Step 2: Collect and clean your knowledge base
  7. Step 3: Choose how you will build it
  8. Step 4: Train the chatbot on your content
  9. Step 5: Write the chatbot’s instructions and tone
  10. Step 6: Set up human handover and lead capture
  11. Step 7: Connect WhatsApp, your CRM and booking tools
  12. Step 8: Test with real questions, then launch and improve
  13. Should you use a no code platform or build a custom chatbot?
  14. How much does an AI chatbot cost?
  15. How do you stop your chatbot from giving wrong answers?
  16. Which privacy and AI laws apply to your website chatbot?
  17. Will an AI chatbot slow down your website or hurt SEO?
  18. Example: an AI chatbot for a local dental clinic
  19. What mistakes should you avoid when building an AI chatbot?
  20. Frequently asked questions
  21. Can I build an AI chatbot for my website for free?
  22. How long does it take to build an AI chatbot?
  23. Do I need coding skills to build an AI chatbot?
  24. Can an AI chatbot reply in more than one language?
  25. Will an AI chatbot replace my customer support team?
  26. How do I add an AI chatbot to a WordPress website?
  27. Is a website chatbot or a WhatsApp chatbot better for small businesses?
  28. Ready to put an AI chatbot to work on your website?

It is 11 pm and someone is on your website asking the same things your team answers ten times a day. What does it cost? Are you open on Sunday? Do you deliver to my area? Nobody replies, so by morning they have booked with a competitor who did.

The good news is that you can build an AI chatbot for your business website in a few days, often without a developer, and for far less than most people expect. The harder part is building one that gives correct answers, sounds like your brand and hands the chat to a real person at the right moment.

This guide walks you through the whole process step by step: picking the right type of chatbot, training it on your own content, connecting WhatsApp and your CRM, staying on the right side of privacy and AI laws such as GDPR and the EU AI Act, and making sure the widget does not slow down your site or hurt your SEO.

Key takeaways

• An AI chatbot for a business website answers visitor questions in plain language, using your own content, at any hour.

• Most small and medium businesses should start with a no code platform. A custom build makes sense only when you need deep integrations or full control over data.

• Answer quality depends on the content you feed the bot far more than on the tool you choose.

• Always give people an easy route to a human. In a 2026 Gartner survey, 87% of customers said companies using GenAI for service must offer one.

• Load the chat widget after your main content so it does not drag down your Core Web Vitals.

What is an AI chatbot for a business website?

An AI chatbot for a business website is a chat window, usually in the corner of your pages, that uses a large language model to understand questions typed in everyday language and reply using your business information: services, prices, timings, policies and FAQs. Unlike older button based bots, it can handle questions you never scripted.

Think of it as a trained front desk assistant who has read every page of your website, your brochure and your FAQ sheet, and who never takes a lunch break. It does not “know” anything about your business on its own. It only knows what you give it, which is why the setup work matters so much.

Rule based, AI or hybrid: which chatbot do you need?

There are three broad types, and the right choice depends on how predictable your customer questions are.

TypeHow it worksBest forWatch out for
Rule basedFixed menus and buttons that follow a scriptSimple tasks like booking a slot or tracking an orderBreaks the moment someone types a question you did not plan for
AI chatbotA language model reads the question and answers from your contentVaried questions about services, pricing and policiesCan give wrong answers if your content is thin or out of date
HybridAI answers open questions, fixed flows handle bookings, payments and lead formsMost growing businessesNeeds a little more planning upfront

For most of our clients, hybrid is the sweet spot. Let the AI handle the open questions and keep anything involving money, appointments or personal details in a controlled flow.

Why should your business website have an AI chatbot?

An AI chatbot captures enquiries when your team is offline, answers repeat questions instantly and collects the details your sales team needs before they call back. For a local business, that often means fewer missed leads after hours and less time spent typing the same reply about fees or location.

There is an honest flip side, though. A Gartner survey published in September 2026 found that 49% of customers said they would have used a chatbot if one was offered, but only 7% actually used one in their most recent service interaction. The same research found that just 27% would try a chatbot again after a bad experience.

So the goal is not simply to “have a chatbot”. The goal is to have one good enough that people use it twice. Everything in the steps below is about that.

How do you build an AI chatbot for your business website?

To build an AI chatbot for your business website, define one clear job for it, gather and clean the content it will learn from, choose a no code platform or a custom build, train it on your content, write its instructions, set up human handover, connect your tools, then test with real customer questions before going live.

Step by step process to build an AI chatbot for a business website
From content to launch: the main stages of building an AI chatbot

Step 1: Give the chatbot one main job

Start with a single goal you can measure. “Answer everything” is not a goal. Pick one of these to begin with:

  1. Answer pre sales questions and collect leads
  2. Book appointments or demos
  3. Handle order status, returns and refund questions
  4. Support existing customers with how to questions

A language school in Toronto might start with “answer course and fee questions and collect the student’s email”. An online skincare brand in London might start with “answer order and return questions so the support inbox shrinks”. You can add more jobs later.

Step 2: Collect and clean your knowledge base

Your chatbot is only as good as what it reads. Pull together:

• Service or product pages, with current prices or price ranges

• Your FAQ list, including the awkward questions customers actually ask

• Policies: refunds, cancellations, delivery areas, warranty

• Timings, address, parking, holidays and contact numbers

• Brochures, PDFs and past email replies your team sends often

Then clean it. Remove old offers, fix conflicting prices and write down answers to questions that only exist in your staff’s heads. In our experience, this step takes longer than setting up the tool, and it is the step that decides whether the bot is useful.

Step 3: Choose how you will build it

You have two main routes: a ready made platform or a custom build on top of an AI model’s API. The table in the next section compares them in detail. If you are a small business with fewer than a few hundred chats a month, start with a platform. You can always move to a custom build once you know what customers ask.

Step 4: Train the chatbot on your content

Most modern chatbots use a method called retrieval augmented generation (RAG). In simple terms, when a visitor asks a question, the system first searches your knowledge base for the most relevant passages, then asks the AI model to write an answer using only those passages.

On a no code platform, training usually means pasting your website URL, uploading PDFs and adding Q and A pairs. On a custom build, a developer splits your content into chunks, stores them in a searchable database and connects that to the model. Either way, keep one rule: when you update a price on your website, update the chatbot’s source too.

Step 5: Write the chatbot’s instructions and tone

Every AI chatbot has a set of instructions, often called a system prompt, that controls how it behaves. This is where you set the tone and, more importantly, the limits. Here is a simple example for a clinic:

You are the website assistant for Smile Care Dental Clinic.
Answer only using the clinic information provided to you.
If the answer is not in that information, say you are not sure and offer to connect the visitor with the front desk.
Never diagnose a condition or suggest medicines.
If someone mentions severe pain, swelling or bleeding, share the clinic phone number and ask them to call now.
Keep replies short, friendly and in the same language the visitor uses.

Notice the “say you are not sure” line. A chatbot that admits it does not know is far safer than one that confidently guesses.

Step 6: Set up human handover and lead capture

Decide exactly when the bot should pass the chat to a person. Good triggers include a visitor asking for a human, the same question being asked twice, a complaint, a high value enquiry, or anything the bot is not allowed to answer.

This matters to customers. In its August 2026 survey, Gartner found that 87% of customers say companies using GenAI for customer service must give them access to a human agent. Make the “talk to a person” option visible, not hidden behind five replies.

For lead capture, ask for details only after you have helped the visitor, and ask only for what you need, usually a name, phone number and preferred time.

Step 7: Connect WhatsApp, your CRM and booking tools

A chatbot that collects a lead and leaves it sitting in a dashboard nobody opens is wasted effort. Connect it to where your team already works:

• Your CRM or a shared Google Sheet for new leads

• Your booking calendar for appointments

• WhatsApp Business, so leads and handovers reach your team on their phones

• Email alerts for urgent chats

Most platforms offer these as built in integrations. For a custom build, this is API work, which we explain in our guide on what an API is.

Step 8: Test with real questions, then launch and improve

Before launch, collect 30 to 50 real questions from your call logs, emails and WhatsApp chats. Ask them in different ways, with spelling mistakes, in other languages, and with trick questions about things you do not offer. Note every wrong or weak answer and fix the source content, not just the reply.

After launch, read chat transcripts every week for the first month, then monthly. Look for questions the bot could not answer, chats where people dropped off and handovers that happened too late.

Should you use a no code platform or build a custom chatbot?

Use a no code platform if you want to launch quickly, have a limited budget and mostly need to answer common questions and capture leads. Choose a custom build if you need deep links to your own software, strict control over where data is stored, or very high chat volumes where platform fees add up.

OptionExamplesHow you paySetup time (our experience)Best for
All in one support platforms with AIIntercom Fin, Tidio Lyro, Zoho SalesIQMonthly plan plus AI usageA few daysBusinesses that also want live chat and a shared inbox
WordPress chatbot pluginsVarious AI chatbot plugins in the WordPress directoryPlugin licence plus AI model usageA day or twoWordPress sites with simple needs
WhatsApp first platformsOfficial WhatsApp Business Platform partnersPlatform fee plus Meta per message chargesA few days to two weeksBusinesses whose customers prefer WhatsApp
Custom buildYour own app using OpenAI, Google Gemini or Anthropic Claude APIsDeveloper time plus pay per use API costsUsually several weeksComplex integrations, full data control, high volume

A quick word on pricing models, because they differ a lot. Intercom charges $0.99 per resolution for its Fin AI agent, counted only when no further help is requested after the AI’s last answer. Tidio sells its Lyro AI agent as a separate add on that, as of late 2026, starts at about $39 a month for 50 conversations. Always check the live pricing page before you commit, because these change often.

How much does an AI chatbot cost?

An AI chatbot can cost anything from nothing on a free starter plan to a few hundred US dollars a month for a busy small business, and more for custom builds. Your real bill has three parts: the platform or development cost, the AI usage charge, and messaging charges if you use WhatsApp.

Here is what to budget for:

  1. Platform or build cost. A monthly subscription for a no code tool, or a one time development fee plus hosting for a custom build.
  2. AI usage. Charged per conversation, per resolution or per token (a small unit of text), depending on the provider.
  3. WhatsApp charges. Meta moved the WhatsApp Business Platform to per message pricing on 1 July 2025. It charges by message category and country, and does not charge for messages customers send to you.
  4. Your team’s time. Someone needs to keep the content fresh and review chats every month.

The cheapest option is not always the best value. A bot that answers badly costs you leads, which never shows up on an invoice.

How do you stop your chatbot from giving wrong answers?

To stop an AI chatbot from giving wrong answers, restrict it to your own content, instruct it to say “I am not sure” when the answer is missing, keep sensitive topics like prices, medical advice and refunds in fixed flows, and review real transcripts regularly to fix gaps in your knowledge base.

This is not a small risk. In 2024, a Canadian tribunal ruled that Air Canada was responsible for incorrect refund information its website chatbot gave a customer. Whatever your bot says, customers will treat it as your business speaking.

A few practical safeguards:

• Put prices as ranges with “final price after consultation” where that is the truth

• Add a short line under the chat window such as “AI assistant. Answers may need confirming with our team.”

• Block topics you never want the bot to discuss, such as competitors or legal advice

• Re test the bot every time you change prices, services or policies

Which privacy and AI laws apply to your website chatbot?

The laws that apply depend on where your visitors live, not where your business is based. If your chatbot serves people in the EU or UK, GDPR applies. Since 2 August 2026, the EU AI Act also requires that people are told when they are chatting with an AI. California, India and many other places have their own privacy rules too.

Here is a quick overview of the rules most website owners run into:

LawWhere it appliesWhat it means for your chatbot
GDPR and UK GDPRVisitors in the EU and UKA lawful basis for collecting chat data, clear notice, data access and deletion rights
EU AI Act, Article 50AI systems used with people in the EUTell people they are talking to an AI, unless it is obvious
CCPA / CPRACalifornia residentsDisclose what you collect and honour opt out and deletion requests
DPDP Act, 2023Visitors in IndiaClear notice and consent, phased in through May 2027

Law firms tracking the EU AI Act note that the Digital Omnibus delayed many high risk AI rules, but left the Article 50 transparency duties applying from 2 August 2026, and that this covers businesses running a branded customer service chatbot.

Whatever your market, the practical checklist is the same:

• Say clearly that the visitor is chatting with an AI assistant

• Tell visitors what you collect and why, before you collect it

• Get separate consent before sending marketing messages by email, SMS or WhatsApp

• Collect only what you need for the purpose

• Know where your chatbot vendor stores chat data and how long it keeps it

• Have a way to delete a person’s data when they ask

• Link to your privacy policy from inside the chat window

This is general guidance, not legal advice. For anything involving health, finance or children’s data, speak to a lawyer who works on data protection in your market.

Will an AI chatbot slow down your website or hurt SEO?

An AI chatbot can slow your website if its widget loads heavy JavaScript the moment a page opens, which can hurt Core Web Vitals and mobile speed. Load the widget after the main content, or only when a visitor clicks the chat icon, and test your pages in PageSpeed Insights before and after installing it.

A few SEO points we check on every chatbot install:

• Delay the script. Most widgets support delayed or on click loading. Our guide to Core Web Vitals on WordPress explains why this matters for rankings.

• Keep key answers on the page. Text inside a chat window is generally not treated as part of your page content. Your important answers should still live in visible FAQ sections.

• Mine the chat logs. This is the hidden SEO benefit. At Balhara Infotech, we usually see that the questions people type into chatbots are phrased very differently from the keywords in SEO tools. Those exact questions make excellent FAQ headings and blog topics, which also helps you show up in AI answers. See our guide on how to rank in Google AI Overviews.

Example: an AI chatbot for a local dental clinic

Here is how we would set up an AI chatbot for a typical family dental clinic, whether it is in Dubai, Sydney or Austin, the kind of local business that gets plenty of website visits after working hours.

AI chatbot for a dental clinic booking an appointment on mobile
A clinic chatbot answers fee questions and books consultation slots

The job: answer treatment and fee questions, and book consultation slots.

The knowledge base: a treatment list with honest price ranges, clinic timings, doctor profiles, parking directions, accepted payment methods and aftercare notes for common procedures.

The rules: the bot never diagnoses or suggests medicines. Any mention of severe pain, swelling or bleeding shows the clinic phone number straight away. Fee questions get a range plus “the doctor will confirm after a check up”.

The handover: if a patient asks for a person, or wants a slot outside the booking calendar, the chat goes to the front desk on WhatsApp with the patient’s name and question attached.

The lead capture: after answering, the bot asks for a name, phone number and preferred time, with a short consent line and a link to the privacy policy.

The review: after the first month, the clinic reads the transcripts. If many people ask a question the website never answers, such as whether a treatment can be done in one visit, that becomes a new FAQ on the treatment page and the bot’s answer improves at the same time.

The point of this example is the sequence: one job, clean content, clear limits, a fast human handover and a monthly review. The same sequence works for an accounting firm, a real estate agency or an online store.

What mistakes should you avoid when building an AI chatbot?

The most common mistakes are launching without clean content, hiding the human option, asking for contact details too early, letting the bot guess prices, and never reading the transcripts. Each one quietly costs you leads and trust.

• Launching on thin content. A bot trained on a five page website will make things up.

• Trapping people. If someone cannot reach a human, they leave, and many will not come back.

• Asking for a phone number first. Help first, then ask.

• Forgetting mobile. Most of your visitors are probably on phones. Check that the widget does not cover buttons or your WhatsApp icon.

• Set and forget. Your prices, offers and services change. Your chatbot needs to change with them.

Frequently asked questions

Can I build an AI chatbot for my website for free?

Yes, several chatbot platforms offer free plans with a limited number of conversations each month, which is enough to test the idea on a small website. Once traffic grows or you need AI answers on every chat, expect to move to a paid plan or pay for AI usage.

How long does it take to build an AI chatbot?

With a no code platform and clean content, you can have a working AI chatbot live in a few days. Gathering and cleaning your content usually takes longer than the technical setup. A custom chatbot with integrations into your own systems typically takes several weeks.

Do I need coding skills to build an AI chatbot?

No. Most chatbot platforms let you train the bot by adding your website link, uploading documents and typing Q and A pairs, then you paste one line of code into your site or install a plugin. Coding is only needed for custom builds and deeper integrations.

Can an AI chatbot reply in more than one language?

Yes. Most modern AI chatbots can understand and reply in dozens of languages, including mixed language messages, because the language models behind them are trained on many languages. Test it with real questions from your customers, and tell the bot in its instructions to reply in the visitor’s language.

Will an AI chatbot replace my customer support team?

No, and it should not try to. A good chatbot handles repeat questions and collects details so your team can focus on complex queries, complaints and sales conversations. Customers still expect a human option, so plan your chatbot as support for your team, not a replacement.

How do I add an AI chatbot to a WordPress website?

You can add an AI chatbot to WordPress by installing the platform’s official plugin, or by pasting its code snippet into your theme or a header and footer plugin. Afterwards, check your page speed and set the widget to load after the main content.

Is a website chatbot or a WhatsApp chatbot better for small businesses?

For many small businesses, especially in markets where WhatsApp is the main messaging app, the best answer is both, connected together. The website chatbot catches visitors while they browse, and WhatsApp keeps the conversation going after they leave. If you can only pick one, go where your customers already message you most.

Ready to put an AI chatbot to work on your website?

An AI chatbot is worth building when it does one job well, learns from clean and current content, knows its limits and hands over to your team quickly. Start small, read the chats, and improve every month.

If your website is not getting enough visitors yet, a chatbot will not fix that on its own. That is where we can help. At Balhara Infotech, we handle SEO, content and website development with plain language monthly reports and no lock in contracts. Get a free SEO audit and we will show you where your site is losing enquiries today.

Written by Hariom Balhara

Hariom Balhara is the founder of Balhara Infotech, an SEO and digital marketing agency in Gurgaon. He helps local businesses, startups and brands across India get found on Google and in AI answers, and writes about SEO, local search and website growth in plain, practical language.