Skip to content
AI

AI chatbot setup: scope, knowledge base, guardrails and launch

Set up a customer service chatbot step by step: pick the questions it should handle, choose buy or build, ground it in your content, add guardrails and disclosure, and test it before launch.

Empty reception counter with a brass service bell and brochure rack, snow visible through the glass door at dusk

An AI chatbot setup that works starts with the 20–30 questions customers really ask, an approved knowledge base the bot answers from, clear rules for handing over to a person, and a visible notice that the customer is talking to AI. Choose between a help-desk AI agent priced per resolution and a custom build on a model API, then test on real questions before launch.

Key points

  • Your company is responsible for what its chatbot says: in Moffatt v. Air Canada (2024) a tribunal held the airline liable for a refund policy its bot invented.
  • In the EU, Article 50 of the AI Act has required since 2 August 2026 that people are told when they interact with an AI system, unless it is obvious.
  • Help-desk AI agents charge per resolved conversation (Intercom lists Fin from $0.99 per outcome, October 2026); custom bots pay per token and need someone to maintain them.
  • Prompt injection is number one on the OWASP Top 10 for LLM applications, so a bot that can take actions needs strict limits on what it may do.

What should your AI chatbot actually do?

Your chatbot should answer the frequent, factual questions that already fill your inbox and hand everything else to a person. Define that scope from data, not from a feature list.

  1. Export three months of tickets, chats and e-mails. Most help desks export to CSV; for a shared inbox, a sample of 300–500 messages works.
  2. Group them into intents. "Where is my order", "Can I change my booking", "Do you deliver to Tromsø". A language model can do the first pass if you remove personal data before uploading; a person checks the groups.
  3. Rank by volume and risk. High-volume, low-risk intents go to the bot. Anything involving money decisions, complaints, health or legal questions goes to a person.
  4. Write the target answer for each intent. If you cannot write a correct answer in three sentences with a link to the policy page, the bot cannot either.
CategoryExamplesBot role
Answer from contentOpening hours, delivery areas, return policy, product specsAnswers with a link to the source page
Look up and answerOrder status, booking details, invoice copyFetches data after verifying the customer, read-only
Collect and routeQuote requests, B2B enquiries, job applicationsAsks qualifying questions, creates a CRM record, books a meeting
Hand over at onceComplaints, refunds outside policy, legal, health, angry customersRecognises the topic and passes to a person with the conversation so far
Four roles a support chatbot can take, with typical intents for each.

Which type of chatbot should you choose?

Choose a help-desk AI agent if you already run Intercom, Zendesk or a similar tool and want the fastest launch; choose a custom build on a model API if you need deep integration with your own systems or full control of cost and data.

TypeExamplesPricing modelBest forTrade-offs
Help-desk AI agentIntercom Fin, AI agents in Zendesk and similar help desksPer resolution or outcome (Fin from $0.99 per outcome) plus seatsTeams with an existing help desk and knowledge baseCost scales with success; less control over model and retrieval
No-code bot builderChat builders that connect to a website and documentsMonthly plan by conversations or messagesSmall sites with a limited FAQWeak integrations; vendor lock-in for conversation history
Custom build on a model APIOpenAI, Anthropic or Google models with your own retrieval and UIPer token at API rates, plus hosting and developer timeComplex products, internal systems, strict data rulesYou own maintenance, monitoring and security
Chatbot build options. Intercom pricing from Intercom (October 2026); API rates in our model comparison.

Intercom counts a Fin outcome when the customer confirms the issue is resolved, does not ask for more help after Fin responds, or Fin completes a workflow including a handoff, and charges once per conversation. Read the definition carefully: a customer who gives up and leaves can count as resolved. For custom builds, our comparison of ChatGPT, Claude and Gemini lists API prices per million tokens as of October 2026.

How do you build the knowledge base the bot answers from?

The bot should answer only from an approved set of documents, a pattern called retrieval-augmented generation (RAG): the system searches your content for relevant passages and gives them to the model with the question, so answers rest on your text rather than on the model's memory.

  • One source of truth per topic. If the return policy appears on three pages with different wording, the bot will mix them. Fix the pages first.
  • Short, self-contained articles. One question per article, with the answer in the first paragraph, works for retrieval the same way it works for search engines.
  • Dates and owners. Every article gets an owner and a review date. Price lists and opening hours change; the bot repeats whatever is stored.
  • Exclude what the bot must not say. Internal notes, draft policies and old campaign terms stay out of the index.

Watch out

In Moffatt v. Air Canada (British Columbia Civil Resolution Tribunal, February 2024) the airline's chatbot told a customer he could claim a bereavement fare after travel, which contradicted the policy page. The tribunal rejected the argument that the chatbot was responsible for its own statements, found that Air Canada did not take reasonable care to ensure its chatbot was accurate, and awarded the difference in fare, CAD 650.88 in damages. Treat every bot answer as a statement by your company.

How should you write the bot's instructions and guardrails?

Write the system instructions as a short operating manual: who the bot serves, what it may answer, what it must refuse, how it hands over, and how it sounds. Keep it under a page so you can test every rule.

  • Scope: "Answer questions about orders, delivery, returns and products using only the provided articles. If the articles do not contain the answer, say so and offer a person."
  • Never invent: prices, discounts, deadlines, legal rights or policy exceptions. Link to the source page instead.
  • Handover triggers: the customer asks for a person, mentions a complaint, refund outside policy, legal or health issue, or the bot fails to answer twice in a row.
  • Tone: plain and short, in the customer's language, no jokes about problems.
  • Disclosure: the first message states that this is an AI assistant and how to reach a person.

Our prompt engineering guide covers how to structure and test instructions like these.

What do the AI Act, GDPR and security rules require?

A customer-facing chatbot must tell people they are talking to AI, handle chat logs as personal data, and be protected against users who try to manipulate it.

  • AI Act transparency: Article 50 has applied in the EU since 2 August 2026. Providers of AI systems designed to interact directly with people must ensure those people are informed they are dealing with AI, unless it is obvious from the context. The Digital Omnibus amendments postponed several high-risk deadlines but left this duty on its original date. If you build your own bot you are the provider; if you buy one, check the vendor complies and show a clear label regardless.
  • Norway: the AI Act applies in Norway once it is taken into the EEA Agreement and Norwegian law. On 4 August 2026 the government said it would send the Norwegian AI act out for a new consultation in the autumn and aims to put it before the Storting in spring 2027. Building to the EU rule now avoids rework.
  • GDPR: chat transcripts contain names, order numbers and sometimes health or financial details. Set a retention period, tell users in the privacy notice, sign a data processing agreement with the vendor, and choose a plan that does not train on your conversations.
  • Security: the OWASP Top 10 for LLM Applications (2025) lists prompt injection first, followed by sensitive information disclosure; it also lists excessive agency and system prompt leakage. Give the bot read-only access by default, verify identity before showing account data, and require confirmation from a person for any action that changes money or bookings.

What does a realistic setup cost?

A help-desk agent costs per resolved conversation, while a custom build costs per token plus the people to run it, so the cheaper option depends on volume and on how much integration you need.

Example

A Tromsø tour operator handles about 1 800 chats a month, mostly about pickup points, cancellations and weather policy. Option A is Intercom Fin. If Fin resolves half the chats, that is 900 outcomes × $0.99 = about $890 a month at the entry outcome price, on top of help-desk seats. Option B is a custom bot on Sonnet 5.5 at $2 per million input tokens and $10 per million output tokens. Assume six turns per chat, 4 000 input tokens per turn (instructions, retrieved articles and history) and 300 output tokens: 1 800 × 6 × 4 000 = 43.2 million input and 3.24 million output tokens, so about $86 + $32 = $118 a month before prompt caching. Option B's model bill is far lower, but someone has to build the retrieval, the chat widget, the handover to staff and the monitoring, and keep them running. For a team without a developer, Option A is usually the sensible start. These figures are illustrative, built from list prices in October 2026.

Use the method in the AI ROI calculation guide to set the cost against agent hours saved, and include the cost of wrong answers, not only the savings from right ones.

How do you test and launch the chatbot?

Test the bot against a fixed set of real customer questions, launch on a limited part of the site, and review transcripts every week for the first two months.

  1. Build a test set of 100 real questions. Take them from your ticket export, including awkward phrasing, typos, every language your customers write in, and a dozen attempts to make the bot misbehave.
  2. Score every answer. Correct, correct but incomplete, wrong, or should have handed over. Fix the knowledge base or instructions and rerun until wrong answers stop appearing in the high-risk intents.
  3. Soft launch. Put the bot on the help centre or one product area first, with a visible "talk to a person" option.
  4. Review transcripts weekly. Read a sample of resolved, handed-over and abandoned conversations. Unanswered questions become new articles.
  5. Track four numbers. Resolution rate, handover rate, customer satisfaction on bot conversations, and wrong-answer rate from your weekly audit.
  6. Connect the handover. Route leads and escalations into the CRM so nothing is lost; the CRM marketing automation guide and our comparison of Zapier, Make and n8n show how to wire that up.

The AI automation guide places chatbots among other automation projects if you are deciding where to start. For help with scoping, building and connecting a chatbot to your systems, see our AI implementation service.

Frequently asked questions

How long does it take to set up an AI chatbot?

A help-desk AI agent on an existing, well-kept knowledge base can go live in a few weeks, most of it spent on testing and fixing articles. A custom build with integrations into order or booking systems takes longer, because identity checks, handover and monitoring have to be built too.

Do I have to tell customers they are talking to a bot?

In the EU, yes: Article 50 of the AI Act requires that people are informed they are interacting with an AI system unless it is obvious, and it has applied since 2 August 2026. Norway is implementing the AI Act through the EEA, and a clear label is good practice there already.

Is my company liable if the chatbot gives wrong information?

You should assume so. In Moffatt v. Air Canada the tribunal held the airline responsible for its chatbot's incorrect statement about bereavement fares and awarded damages. Keep the bot on approved content and hand over anything involving money or rights.

What is RAG in a chatbot?

Retrieval-augmented generation means the system searches your own documents for passages relevant to the question and gives them to the language model along with it. The model then answers from your content rather than from what it learned in training, which reduces invented answers.

Can the chatbot take actions like cancelling orders?

It can, through integrations, but start read-only. OWASP lists excessive agency as a top risk for LLM applications, so require identity verification and confirmation from a person for any action that changes money, bookings or account data.

Sources

  1. Civil Resolution Tribunal (British Columbia): Moffatt v. Air Canada, 2024 BCCRT 149
  2. McCarthy Tétrault: Moffatt v. Air Canada, a misrepresentation by an AI chatbot (2024)
  3. EUR-Lex: Regulation (EU) 2024/1689 (Artificial Intelligence Act), Article 50
  4. Goodwin: EU AI Act transparency obligations are now in force (August 2026)
  5. Regjeringen: Tung vil sende KI-loven med endringer på høring (4 August 2026)
  6. OWASP: Top 10 for LLM Applications 2025
  7. Intercom: Pricing and Fin outcome definition (October 2026)

New articles, by email

Our latest practical articles on search, ads and analytics, gathered once a month. No sales sequences.

One email a month, no spam. Unsubscribe any time. How we handle your data.