---
title: "Knowledge Base Integration"
canonical: "https://support.appfire.com/space/CFSD/147784001/Knowledge%20Base%20Integration"
format: markdown
---
## Overview

Chat for Service Management can be integrated with Service Management's knowledge base. When this option is enabled, an additional search box shows up in the chat widget:

![image](media://75974588-7d10-40f3-8060-80987c333de2)

You can search the knowledge base by typing into this box - articles matching your search phrase are shown as a list:

![image](media://a89be5c2-3745-4c72-a739-b192869e4c21)

Additionally, knowledge base will be searched (if this option is enabled) when you type anything into the chat text entry box inside the conversation:

![image](media://7a0ffabb-13de-4bdd-a27d-445d672f4c5f)

> ⚠️ **Important permissions information**
> ⚠️ 
> ⚠️ Knowledge base queries from the chat widget are always performed in the context of **project lead user of the chat's project**. Confluence permissions for this user are in effect when displaying search results.

## Knowledge Base Setup

## Set Up a Link To Confluence Space

To set up knowledge base integration, first you have to set up link to Confluence for the project, as described in the [Service Desk documentation](https://confluence.atlassian.com/servicedeskserver/set-up-a-knowledge-base-for-self-service-956713310.html).

This should result in a set up similar to the one shown in the screenshot below:

![image](media://2b5a49a2-3d68-4232-b15d-c961811ed1c8)

## Set Up Chat's Knowledge Base Option

This step is described in the [Integrating with Knowledge Base](https://appfire.atlassian.net/wiki/spaces/CFSD/pages/147783888) page.