---
title: "How to add an AI chatbot to your website | tufu"
description: "Point the chatbot at your own pages, paste two lines or install a plugin, and decide who answers what it can't. No code and no AI key."
url: https://tufu.ai/answers/add-ai-chatbot-to-website/
---

Answers

# How do I add an AI chatbot to my website?

Choose a chatbot that learns from your own website, give it your homepage or sitemap, then paste its snippet into your site or install its plugin. Most site builders have a box for code in the page head, and that is where it goes. It takes minutes, not a developer.

When people ask whether they can add ChatGPT to their website, they usually mean a chatbot that talks like ChatGPT but knows their prices, policies and products. A general AI model doesn't know any of that. What turns it into a support chatbot is the part around it: your content, a chat window, and a way to reach you.

## 1. Give it something to read

Start with your website. A good chatbot finds your pages from your sitemap and reads the main text of each, leaving out menus and footers. tufu reads the 50 pages most likely to answer customers first (help, FAQ, shipping, returns, pricing, contact), so the bot can answer within minutes while the rest of the site loads in.

Then add what isn't on the site: PDFs, Word and Excel files, a returns policy you paste in, or questions with the answers you'd give. The chatbot answers only as well as what it reads, so this step matters more than any setting.

## 2. Put it on your pages

On most sites that is two lines of HTML: a script once in the head of every page, and the chat element in the body. On WordPress a plugin does it for you, on Shopify the lines go into your theme, and Squarespace, Wix and Webflow each have a settings box for custom code.

You don't need an AI account or key for this. The chatbot vendor runs the AI model and its bill, and you only paste what it gives you.

## 3. Try it before your visitors do

Ask the questions your customers ask, in their words, including the awkward ones. Check that each answer links the page it came from, so you can see why it said what it said. In tufu the bot's page switches from Waiting for your site to Live on your address by itself once the chat loads there.

## 4. Decide what happens when it can't answer

This is the step most guides skip. A chatbot that guesses, or loops, costs you the customer. Set it to hand the conversation to a person instead: ask for the visitor's email first, so your reply reaches them even if they close the tab, and get pinged only when someone is waiting.

## Doing it with tufu

Sign up, enter your homepage, and copy the two lines from the bot's Put it on your site page, or install the WordPress plugin and press Connect to tufu. Free includes 100 answers a month from your own pages for free, and every plan hands the rest to your team.

[Start free](https://tufu.ai/accounts/signup/) [See the support chat](https://tufu.ai/product/support-chat/)

## Related questions

- [How much does an AI chatbot for a website cost? From free to hundreds of dollars a month. What sets the price: seats, resolutions, conversations or credits, with real prices side by side.](https://tufu.ai/answers/ai-chatbot-cost/)
- [What is the difference between live chat and a chatbot? Live chat is a person typing back; a chatbot answers on its own. What each is good at, what each costs you, and how one window does both.](https://tufu.ai/answers/live-chat-vs-chatbot/)

Questions

## People also ask.

### Can I train a chatbot on my website's content?

Yes, and you don't train a model to do it. The chatbot reads your pages, keeps them searchable, and answers from the closest ones each time. When a page changes, press Re-read, or on a paid plan let it refresh on a schedule.

### Do I need to know how to code?

No. Pasting two lines into a site builder's code box, or installing a plugin, is all it takes. A developer can do more, but nothing here needs one.

### Is it legal to put an AI chatbot on my website?

Yes, but tell visitors they're talking to an AI. tufu's chat always shows a line saying so at the top, and you can't switch it off.

## Set it up before your next support email.

Free to start, no card needed. Point it at your site and it's answering in about ten minutes.

[Start free](https://tufu.ai/accounts/signup/) [Sign in](https://tufu.ai/accounts/login/)
