Skip to main content

Ask AI chatbot widget for Webflow

Add an AI chatbot or AI search widget to your Webflow site using Biel.ai's web components.

Prerequisites​

  • A Biel.ai account. If you don't have one, sign up for free.
  • A project created in your Biel.ai dashboard. Follow the Quickstart guide to create one.
  • A Webflow site with a paid site plan (required for custom code features).

Add the chatbot widget​

Chatbot widget for docs

  1. Log in to your Webflow dashboard and open the site you want to edit.

  2. Navigate to your site settings:

    • Click the Settings icon (gear icon) in the left sidebar.
    • Select Custom Code from the menu.
  3. Add the Biel.ai styles and scripts in the Head Code section:

    • In the Head Code field, paste the following:

      <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>
  4. Add the chatbot widget in the Footer Code section:

    • Scroll down to the Footer Code field.

    • Paste the following snippet:

      <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.

  5. Click Save Changes at the top right.

  6. Publish your site:

    • Click the Publish button in the top right corner of the Webflow Designer.
    • Select the domain(s) you want to publish to.
    • Click Publish to selected domains.
  7. Visit your published Webflow site in a web browser to verify the chatbot appears and works correctly.

Next steps​