Documentation

Set up BizChat

From your first document to a chatbot live on your website, plus the JavaScript API for more control.

Quick start

  1. Create a free account and create your first chatbot.
  2. Add knowledge: upload files or add your website pages.
  3. Ask it a few questions in the dashboard playground and adjust its instructions if needed.
  4. Open the chatbot's Widget page, copy the snippet and paste it into your website.

Add your content

BizChat answers from the knowledge sources you give each chatbot:

  • Files: PDF, DOCX, CSV, TXT and Markdown.
  • Website pages: add a single URL, or crawl a whole site from its sitemap (up to 50 pages).

Answers include citations to the sources used, so visitors can check details. If the answer isn't in your content, keep your sources up to date or add a page that covers it. The number of sources per chatbot depends on your plan.

Embed the widget

Copy the snippet from your chatbot's Widget page in the dashboard. It contains your chatbot ID and a publishable key (starting with bizpk_), which is safe to use in a web page. Paste it just before the closing </body> tag.

<script
  src="https://bizchat.cenodigital.com/widget.js"
  data-chatbot-id="YOUR_CHATBOT_ID"
  data-key="bizpk_..."
  async></script>

On the same page you can restrict the widget to your allowed domains, so it only works on websites you list. Never put a secret API key (bizk_) in a web page.

Platform guides

  • WordPress: install the BizChat plugin and enter your chatbot ID and publishable key, or paste the snippet into your theme footer.
  • Shopify: Online Store, Themes, Edit code, then paste the snippet into theme.liquid before </body>.
  • Wix and Squarespace: add the snippet through the site's custom code or code injection setting, placed in the footer on all pages.
  • Laravel or any server-rendered site: add the snippet to your main layout template before </body>.
  • Next.js: load it with the Script component in your root layout.
// app/layout.tsx
import Script from "next/script";

export default function RootLayout({ children }) {
  return (
    <html lang="en">
      <body>
        {children}
        <Script
          src="https://bizchat.cenodigital.com/widget.js"
          data-chatbot-id="YOUR_CHATBOT_ID"
          data-key="bizpk_..."
          strategy="afterInteractive"
        />
      </body>
    </html>
  );
}

JavaScript API

Once the widget has loaded, it exposes window.BizChat so you can control it from your own buttons and pages.

// Open, close or toggle the chat window
window.BizChat.open();
window.BizChat.close();
window.BizChat.toggle();

// Tell BizChat who the visitor is (for example after they sign in)
window.BizChat.identify({
  name: "Jane Perera",
  email: "[email protected]",
  phone: "+94 77 123 4567",
});

For example, open the chat from any button on your site:

<button onclick="window.BizChat && window.BizChat.open()">
  Chat with us
</button>

Leads and live chat

Lead capture asks visitors for their name, email and phone number inside the chat. Leads are listed in the dashboard and can be exported as CSV (Starter plan and above).

Live chat handoff lets visitors ask for a human. The conversation appears in your Inbox, where any teammate can reply in the same chat window. Handoff is included on every plan.

To send leads and conversations to other tools, use webhooks. They work with Zapier, Make, n8n or your own server.

AI models

Choose a model for each chatbot. Availability depends on your plan:

  • Claude Haiku 5.5, GPT-4o mini and GPT-4.1 mini for fast, low-cost answers.
  • Claude Sonnet 5.5 and GPT-4.1 on Growth and above.
  • Claude Opus 5.5 on Business.

On Business you can bring your own OpenAI or Anthropic API key. Keys are stored encrypted. We don't use your content to train AI models; it is sent to the AI provider you choose only to answer questions.

Team and security

  • Invite teammates as owner, admin or agent. Seats depend on your plan.
  • Important account actions are recorded in an audit log.
  • Each customer's data is isolated, and all traffic uses HTTPS.
  • Export your account data from Account, export or delete your organisation from Settings, and delete conversations from the Inbox. Business plans can set a conversation retention period. See your data rights.

Plans and limits

Each plan includes a monthly allowance of AI replies. When it runs out, the bot stops replying until the allowance resets next month or you upgrade. You can change or cancel your plan in Billing. Payment is by card (Stripe) or PayHere in Sri Lanka. See pricing.

Need a hand?

Email us and we'll help you get set up.