# Linking a Knowledge Base to an Assistant

**How to Link a Knowledge Base to an&#x20;**<mark style="color:orange;">**Assistant**</mark>**?**

* **Select an Assistant:**
  * Navigate to the <mark style="color:orange;">**Assistants**</mark> section in your dashboard.
  * Choose the <mark style="color:orange;">assistant</mark> you want to link the Knowledge Base to.
* **Go to&#x20;**<mark style="color:orange;">**Knowledge Base**</mark>**&#x20;Settings:**
  * In the selected <mark style="color:orange;">assistant</mark>’s settings, locate the <mark style="color:orange;">**Knowledge Base**</mark> section.
* **Select a Knowledge Base:**
  * From the dropdown menu, choose the <mark style="color:orange;">Knowledge Base</mark> you want to attach to the <mark style="color:orange;">assistant</mark>.
  * Ensure you select a <mark style="color:orange;">**trained Knowledge Base**</mark>, as only trained Knowledge Bases can be linked to an assistant.
* **Save and You’re Good to Go:**
  * Once you’ve selected the <mark style="color:orange;">Knowledge Base</mark>, your <mark style="color:orange;">assistant</mark> will automatically start using it during interactions.

#### Important Notes:

* **Trained Knowledge Bases Only:**\
  Untrained Knowledge Bases cannot be linked to an assistant. Ensure your Knowledge Base is fully trained before attempting to add it to an assistant.
* **Switching Knowledge Bases:**\
  You can update or change the linked Knowledge Base at any time by revisiting the Knowledge Base settings for the assistant.

<figure><img src="/files/6xHOFVbi8E4gIjNhsK3y" alt=""><figcaption></figcaption></figure>

<https://app.voicegenie.ai/>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://voicegenie.gitbook.io/voicegenie-ai/knowledge-base/linking-a-knowledge-base-to-an-assistant.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
