Add an AI Chatbot to your documentation with Biel.ai
Set up Biel.ai on Docusaurus to let users ask questions in natural language.
Users ask âWhere are the docs for XYZ?â when the answer is right there on page 12. They just canât find it.
An AI chatbot lets them ask in plain language and get instant answers from your existing documentation.
Hereâs how to add Biel.ai to your documentation. This guide uses Docusaurus, but Biel.ai works with any static site generator.
Disclaimer: I built Biel.ai. Itâs a paid service with a free trial.
Prerequisites
Docusaurus site (existing or new)
Node.js v18 or higher
A sitemap for your docs site
Step 1: Create a Biel.ai account
Go to app.biel.ai and sign up. Follow the on-screen instructions to create your account.
Step 2: Create your first chatbot project
In your Biel.ai dashboard, click on the Projects tab at the top.
Click Create project.
Enter your project details:
Project name: Choose a unique name.
Sources: Select Sitemap and enter the sitemap URL of your Docusaurus site (e.g.,
docs.domain.com/sitemap.xml).
Click Save.
Youâll receive a unique Project ID. Keep this handy, as youâll need it later.
Step 3: Install the chatbot
Install the Docusaurus package:
npm install docusaurus-bielAdd Biel.ai to your
docusaurus.config.jsfile:
plugins: [
[
âdocusaurus-bielâ,{
project: â<PROJECT_ID>â,
version: âlatestâ
}
]
],Replace
<PROJECT_ID>with the Project ID you received earlier.
Run your site locally to ensure everything is working properly:
npm startThe chatbot appears as a floating widget. Users can ask questions and get answers from your docs:
Step 4 - Customize your chatbot (optional)
You can tweak the chatbotâs appearance and behavior in the docusaurus.config.js file. For example, you can change the button text or adjust the chatbotâs position:
plugins: [
[
âdocusaurus-bielâ,{
enable: true,
project: â<PROJECT_ID>â,
bielButtonText: âASK AIâ,
buttonPosition: âcenter-rightâ,
modalPosition: âsidebar-rightâ,
headerTitle: âBiel.ai chatbotâ
buttonStyle: âdarkâ,
}
]
],For advanced customization options, such as adding an initial message, suggested questions, or further editing the style, refer to Customization.
What the chatbot conversations tell you
The chatbot tracks what users ask. This reveals gaps in your documentation.
If 50 people ask about webhook authentication but you donât have a guide, thatâs a signal to write one. The questions show whatâs missing or unclear.
The AI only works as well as your documentation. Well-structured, comprehensive docs lead to better answers. Gaps lead to poor responses.






