---
title: "Installing the Knowledge base widget"
slug: "installing-the-knowledge-base-widget"
description: "Install the Knowledge Base widget for your Business Enterprise plan to enhance user interaction and optimize performance on your website."
updated: 2026-04-01T11:32:03Z
published: 2026-04-04T09:33:17Z
excludeFromExternalSearch: true
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.document360.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Installing the Knowledge base widget

The **Knowledge base widget** must be installed in your application or website before users can interact with it.

---

## Installing the Knowledge base widget

1. In the left navigation bar, navigate to **Connections** **(**)** and select **Knowledge base widget.**

> [!NOTE]
> ** NOTE
> 
> If you want to install an existing widget, skip steps 2 to 6. Hover over the desired widget and click the **Copy script**(**)****icon on the right. The code snippet is copied.

1. Click the **Add widget** button at the top-right corner, and enter the desired title for the Knowledge base widget.
2. In the **Configure & connect**tab, expand the **Widget JavaScript**accordion.

You can view the **Widget key** and the **JavaScript code**.
3. Click **Copy** to copy the code snippet.

> [!NOTE]
> ** NOTE
> 
> If you have not installed this Knowledge base widget, you will find the following message: “Installation Widget JavaScript code is not installed anywhere”. You can also view the domains in which the widget is available from the “Installed domains” dropdown.

1. Navigate to **Connections** **(**)**in the left navigation bar****of your Knowledge base portal and select **Integrations**.
2. Click **Add**in the **Custom HTML**tile.
3. In the**Add new integration** panel, select the **Insert code**option as **At the end of body (below </body>)***.*
4. Paste the copied code snippet into the code panel.
5. Click **Add**.

The Knowledge base widget has been successfully installed on the Documentation site. You can style and configure your widget using the other options in the Knowledge base widget settings.

> [!NOTE]
> ** NOTE
> 
> The **autosave**option is available for navigation between the Knowledge base widget tabs.

![](https://cdn.document360.io/860f9f88-412e-4570-8222-d5bf2f4b7dd1/Images/Documentation/gif%201.gif)

## Connected domains

1. In the left navigation bar, navigate to **Connections** **(**)**> **Knowledge base widget.**
2. Hover on the desired Knowledge base Widget and click (**) **Edit**.

![Document360 interface showing knowledge base widget options and edit functionality.](https://cdn.document360.io/860f9f88-412e-4570-8222-d5bf2f4b7dd1/Images/Documentation/edit(1).png)
3. In the **Configure & connect**tab, expand the **Connected domains**accordion.

The Connected Domains field shows the domains where your widget is currently embedded and actively detected by the system. It is automatically populated when the widget script is installed and loaded on a domain.

![Configuration settings for a knowledge base widget, including connected domains and JavaScript.](https://cdn.document360.io/860f9f88-412e-4570-8222-d5bf2f4b7dd1/Images/Documentation/KB-widget-Connected-domains.png)

> [!NOTE]
> ** NOTE
> 
> - The Connected Domains field is read-only and cannot be manually edited. It is provided for visibility purposes only.
> - If the connected domain field appears empty, it means the widget has not yet been detected on any domain.
> - To control which domains are permitted to load the widget, use the [**Widget Security**](/help/docs/managing-and-customizing-the-knowledge-base-widget#restrict-the-knowledge-base-widget-to-a-specific-domain) section.

---

### FAQ

#### Can I configure multiple knowledge base widgets for a single domain or website?

In the **Enterprise plan**, you can configure multiple Knowledge Base widgets on a single domain or website. However, it's important to note that the widgets may not function as expected when more than one is configured. We recommend configuring only one Knowledge Base widget per domain or website for optimal performance. Additionally, if you're on a **Professional** or **Business plan**, you can purchase add-ons to enable multiple widgets.

#### Can I configure the knowledge base widget on an external website?

Yes, you can install the widget on any external website, not just your Document360 knowledge base site. To configure the knowledge base widget in an external website,

1. Log in to your **Document360 portal**.
2. Navigate to the **Connections****(**)** section from the left navigation bar.
3. Hover over your existing widget and click the **Copy script**(**)****icon.
4. Open the HTML code of your website.
5. Paste the copied script just before the closing `&lt;/body&gt;` tag.
6. Save and publish your changes.

> [!NOTE]
> ** NOTE
> 
> If you use a web framework or CMS (like WordPress), your developer can help add the script to the correct location.

This integration will allow the Document360 widget to appear on your website, enabling users to search and access your knowledge base directly.
