# Ask AI chatbot widget for Webflow

> For the complete documentation index, see [llms.txt](/llms.txt)

> Add an AI chatbot or AI search widget to your Webflow site with this step-by-step guide.

Add an [AI chatbot](https://biel.ai) or [AI search widget](https://biel.ai/ai-search-for-docs) 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](https://app.biel.ai/accounts/signup/).
- **A project created in your Biel.ai dashboard**. Follow the [Quickstart guide](https://docs.biel.ai/quickstart.md) to create one.
- **A Webflow site** with a paid site plan (required for custom code features).

## Add the chatbot widget

![Chatbot widget for docs](./images/biel-widget-docs.png)

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:

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

4. Add the chatbot widget in the Footer Code section:

    * Scroll down to the **Footer Code** field.
    * Paste the following snippet:

        ```html
        <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](https://docs.biel.ai/quickstart.md#2-create-a-project).

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

- [Customize](https://docs.biel.ai/customization.md) the widget's appearance, behavior, and tone.
- [Connect integrations](https://docs.biel.ai/integrations.md) like GitHub Actions, MCP, or Zapier.
