Basic installation
Add a Biel.ai AI chatbot or AI search widget to any HTML site. This method uses CDN-hosted components — no build tools or package managers required.
Prerequisites
- A Biel.ai account.
- A project with indexed content.
Add the chatbot widget
The <biel-button> component adds a floating chat button to your site.

-
Add the following inside the
<head>tag of your HTML:<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/biel-search/dist/biel-search/biel-search.css">
<script type="module" src="https://cdn.jsdelivr.net/npm/biel-search/dist/biel-search/biel-search.esm.js"></script> -
Add the following just before the closing
</body>tag:<biel-button project="<YOUR_PROJECT_ID>"
header-title="Biel.ai chatbot"
button-position="bottom-right"
modal-position="bottom-right"
button-style="dark">
Ask AI
</biel-button>Replace
<YOUR_PROJECT_ID>with your project's ID from the Biel.ai dashboard. -
Open the page in a browser to verify the chatbot appears in the bottom-right corner.
Add the search widget
The <biel-search-button> component adds an AI-powered search bar instead of (or alongside) the chatbot.

-
Add the following inside the
<head>tag of your HTML:<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/biel-search/dist/biel-search/biel-search.css">
<script type="module" src="https://cdn.jsdelivr.net/npm/biel-search/dist/biel-search/biel-search.esm.js"></script> -
Add the following where you want the search button to appear:
<biel-search-button project="<YOUR_PROJECT_ID>" button-style="rounded">Search</biel-search-button>Replace
<YOUR_PROJECT_ID>with your project's ID from the Biel.ai dashboard. -
Open the page in a browser to verify the search widget works.
Next steps
- Customize the widget's appearance, behavior, and tone.
- Connect integrations like GitHub Actions, MCP, or Zapier.