Getting started
How to build a chatbot on your own site
A practical guide to building an AI chatbot for your own website: what to decide first, how it learns your pages, the script tag, testing, and what it costs.
In short
To build a chatbot on your own site you decide what job it does, give it your website as its source of knowledge, add one script tag to your pages, then test it with the questions your customers actually ask.
You do not need to write code or train a model yourself. With Defaltam a working chatbot costs €79/month for support or €149/month for sales, starts with a 5-day free trial, and goes live the same day.
Key facts
Key facts
- A website chatbot needs three things: a purpose, a knowledge source, and a script tag on your pages.
- Defaltam builds the knowledge base by crawling your own public pages, so answers match your real prices and services.
- Installation is a single <script> line placed in the <head> of your site.
- Support plan: €79/month. Sales plan: €149/month. Both start with a 5-day free trial.
- Typical time from signup to a live bot: about 10 minutes.
Decide what the chatbot is actually for
Every good chatbot has one job. A support bot exists to answer questions that already have an answer somewhere on your site: opening hours, delivery times, refund policy, what is included in a package. A sales bot exists to turn an anonymous visitor into a named lead: it asks what they need, handles the obvious objections, and collects an email or phone number.
Trying to do both with one set of instructions produces a bot that hedges. Pick the one that matches the problem you actually have this month — too many repeat questions, or too few enquiries.
Choose between building it yourself and using a hosted bot
Building from scratch means wiring a language model API, writing a retrieval layer so the model can look things up in your content, storing conversations, handling rate limits and abuse, and shipping a widget that loads fast on mobile. It is a real project, usually a few weeks, plus ongoing model costs.
A hosted chatbot gives you all of that as a subscription. The trade-off is flexibility: you configure rather than code. For most business sites the hosted route wins, because the value comes from accurate answers, not from owning the plumbing.
| Approach | Time to live | Ongoing work | Best for |
|---|---|---|---|
| Build it yourself | 2–6 weeks | Model costs, hosting, maintenance | Teams with developers and unusual requirements |
| Hosted chatbot (Defaltam) | About 10 minutes | Re-index after content changes | Businesses that want answers, not infrastructure |
| Generic AI assistant, no site data | Minutes | Constant correction | Nothing serious — it invents details |
Give the bot your website as its knowledge
The single thing that separates a useful chatbot from an embarrassing one is grounding: the bot should answer from your content, not from a general model's guesswork. Defaltam reads your public pages and uses that text as the bot's source material, so it repeats your prices, your policies, your service names.
Anything not written on your site cannot be answered. That is a feature, not a limitation — but it means it is worth publishing the five facts customers always ask about before you go live.
Install it with one script tag
Once the bot exists, installing it is a copy-and-paste job. The line goes inside the <head> element of every page where the widget should appear.
<script src="https://defaltam.com/api/public/bot/widget?k=YOUR_PUBLIC_KEY" async></script>
Test it like a customer, then launch
- · Ask the five questions you get most often and check every answer against reality.
- · Ask something the bot cannot know and confirm it offers a handoff instead of inventing an answer.
- · Open the site on a phone and make sure the launcher does not cover your main button.
- · Re-index after you change prices or add a page, so the bot never quotes stale numbers.
- · Watch the first fifty conversations — they tell you exactly what your site fails to explain.
The product behind this guide
A chatbot trained on your own website, live today
Defaltam builds AI chatbots that read your public pages and answer with your real prices, services and policies. Support is €79/month, Sales is €149/month, both start with a 5-day free trial, and installation is one script tag.
FAQ
Questions people ask about this
How do I build a chatbot on my own website?
Decide whether the bot handles support or sales, connect it to your website so it learns your pages, paste one script tag into your site's head section, then test it with real customer questions. With Defaltam the process takes about ten minutes and needs no code beyond that single line.
Do I need to know how to code to add a chatbot?
No. Every major platform — WordPress, Shopify, Webflow, Wix, Squarespace — has a field for header code where you paste the chatbot script. No development work is required.
How does the chatbot know about my business?
Defaltam crawls your public website pages and uses that text as the bot's knowledge, so it answers with your real services, prices and policies. You can add extra facts as plain text and re-index whenever your site changes.
What does a website chatbot cost to run?
Defaltam charges a flat €79/month for the support bot and €149/month for the sales bot, with a 5-day free trial on both. Building one yourself costs developer time plus per-message model fees that scale with traffic.
Related
Keep reading.
AI chatbot vs live chat: which does your site need? →
AI chatbots answer instantly around the clock; live chat needs a person online. Here is how the two compare on cost, speed, accuracy and when to combine them.
How to train a chatbot on your website content →
Training a chatbot on your own site means indexing your pages so answers come from your real content. Here is how indexing works and how to keep it accurate.
Free vs paid website chatbots: what you give up →
Free website chatbots exist, but they cap conversations, show their own branding or answer from scripts. Here is exactly where the line sits.
A chatbot implementation checklist for small teams →
A 12-point checklist for launching a website chatbot: scope, content, tone, handoff, testing, mobile, measurement and the review habit that keeps it accurate.
Where to put a chatbot on your website →
Placement, timing and page choice decide whether a chatbot gets used or ignored. Practical rules for position, auto-open delay and which pages to run it on.
Giving your chatbot a tone of voice that sells →
Chatbot tone decides whether visitors keep typing. Rules for length, honesty, personality and the corporate phrases to cut from your bot's replies.
AI chatbot plans and pricing →
Support €79/mo, Sales €149/mo, 5-day free trial.
How to add an AI chatbot to your website →
The ten-minute install guide, platform by platform.