AI Chatbot for Your Website

An AI chatbot for your website should answer with your own material: opening hours, product details, policies, and how-to pages. A generic assistant that has never read your site will guess. HolderChat is built the other way around. You add a website URL or upload documents, wait until the bot status is Active, then place a script or iframe snippet on your pages — or let the WordPress plugin inject the script embed for you.

HolderChat is currently free, and you can create an account without a credit card. This guide explains how the chatbot learns, how to embed it with the official widget code, and what happens when a visitor needs a person. If you are building the bot mainly for support questions, use the customer support chatbot guide. A shorter list of questions to cover at launch is in five questions your website chatbot should answer from day one.

Mint-colored illustration of a website with a chat widget and launcher in the corner
A website chatbot belongs on the pages visitors already use, as a small widget rather than a separate app.

What a website chatbot should do

A useful chatbot on a website does a small number of things well:

  • It answers from the pages and files you chose, not from unrelated sources.
  • It stays available on the pages visitors already use, as a chat bubble rather than a separate app.
  • It can pass the conversation to a human when it cannot find an answer.

HolderChat covers that path. In the dashboard you create a bot, add knowledge sources, and rebuild until the status is Active. The widget then talks to visitors in real time over a WebSocket connection. You can change the bot name, welcome message, avatar, and prompts, and you can add language packs. The full overview is in Getting Started with HolderChat and on the About page.

Create the chatbot first

The widget will not answer reliably until the bot is Active and has knowledge behind it. There are two official ways to get there.

From the HolderChat dashboard

This path works for any website where you can add a script tag.

  1. Register at holderchat.com and open the Dashboard.
  2. Create a chatbot.
  3. Add at least one knowledge source: a website URL, a document, or an external JSON API.
  4. Click Rebuild Bot and wait until the status is Active. This can take several minutes.
  5. Open Get Widget Code and copy the script tag.

When you add a website, you enter the URL, review the menu preview, and start parsing. When you add files, you can upload PDF, DOCX, TXT, MD, XLSX, or PPTX. The screens for this flow are in Creating Your First Chatbot. Source types are documented under Knowledge Sources.

An empty bot cannot answer questions until knowledge is added and the rebuild has finished. If the bot later gives generic or empty answers, add sources, click Rebuild Bot, and wait for Active again.

From the WordPress plugin

If your content already lives in WordPress, the HolderChat Connector plugin can create the bot, sync selected pages, and show the widget without pasting code on each page.

  1. Install the plugin from the WordPress plugin page.
  2. In WP Admin go to HolderChat → Setup and click Create Chatbot.
  3. Choose which pages to sync and wait until the status is Active.
  4. In HolderChat → Settings, enable “Show chat widget on frontend” and save. The plugin injects get.js automatically.

Manual embed is optional on Connector sites. The plugin needs WordPress 5.8 or later, PHP 7.4 or later, outbound HTTPS access to holderchat.com, and an administrator account. Setup details are in WordPress Connector Setup.

Embed the official widget code

Once the bot is Active, open Dashboard → Get Code on that bot, or go to Get Widget Code with the bot selected. Copy this script tag — this is the official snippet from the documentation, with your own token in place of the placeholder:

<script src="https://holderchat.com/dynamic/get.js?token=YOUR_TOKEN" async defer></script>

Paste it before the closing </body> tag on every page where the chat should appear. A minimal page looks like this:

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>Example site</title>
</head>
<body>
  <!-- Your page content -->

  <script src="https://holderchat.com/dynamic/get.js?token=YOUR_TOKEN" async defer></script>
</body>
</html>

Replace YOUR_TOKEN with the API token (company token) from Get Widget Code. The token is tied to one bot; do not reuse it on a different bot. Embedding the widget does not trigger a rebuild, and the token stays valid while the bot is Active.

Then check the install:

  1. Open your website in an incognito window.
  2. The chat bubble should appear, usually in a bottom corner.
  3. Send a test message.
  4. If the bubble is missing, check the browser console for errors.

The site must allow third-party scripts. If you use a Content-Security-Policy, it must allow scripts from holderchat.com and a WebSocket connection (wss://). Some ad blockers hide chat widgets.

The widget sets two cookies so a conversation can continue: holderchat_user_id identifies the visitor, and holderchat_talk_id keeps the thread. The complete reference, including troubleshooting, is in Embedding the Chatbot Widget.

When a visitor needs a person

An AI chatbot for a website should not pretend to know everything. In the Support tab you can add a second-line channel: a Telegram group or a Microsoft Teams channel that you configure. When the bot cannot answer from its knowledge base, it can route the request to that channel. Your team replies there, and the answer is delivered back to the visitor in the chat in real time.

This only works if the external Telegram or Teams setup is valid and the bot is configured to offer the handoff in its Bot Instructions. The steps are in Support Channels.

Before you leave the dashboard, run a short live checklist:

  • At least one knowledge source is attached.
  • Status is Active.
  • The widget is visible in incognito, and a test question from your own content gets a sensible reply. Testing Your Chatbot walks through this.
  • A support channel is connected if you want a human fallback.
  • Privacy settings and language packs are set if you need them.

Frequently asked questions

Do I need to write code to add an AI chatbot to my website?

Not if you use the WordPress Connector plugin. On any other site you add one official script tag, with the token from Get Widget Code.

Where do I get the embed token?

From Dashboard → Get Code, or the Get Widget Code page with the bot selected. The bot should be Active first.

Will this work on any website?

It works on sites that can include the script tag and that allow holderchat.com scripts plus a WebSocket connection. A strict Content-Security-Policy will block the widget until those sources are allowed.

How do I add the chatbot to WordPress?

Install the HolderChat Connector, create the chatbot from WP Admin, wait for Active, and enable the frontend widget in Settings. You do not need to paste the script on each page. See WordPress Connector Setup.

Is HolderChat free?

Yes. HolderChat is currently free, and you can register without a credit card. If that changes, it will be stated on the free access page.

Why is the chat bubble not showing?

Confirm the script is present, the token belongs to the correct bot, and the bot status is Active. Then try an incognito window with ad blockers disabled, and check the console for CSP or script errors. More cases are listed in the embed documentation.

Add an AI chatbot to your website

Create an account, build a bot from your website or documents, and embed the widget when it is Active. You can start from the registration page or go straight to the dashboard. If you want the longer walkthrough first, begin with Getting Started with HolderChat. More walkthroughs are collected in HolderChat Guides.