---
title: "Connect your agent to knowledge bases"
description: "Connect a knowledge base to an AI agent so that it answers from your content, and fix an agent that ignores the content."
---

# Connect your agent to knowledge bases

> Connect a knowledge base to an AI agent so that it answers from your content, and fix an agent that ignores the content.

Connect your AI agent to knowledge bases to enable intelligent, knowledge-driven responses. This guide walks you through the connection process.

## Prerequisites

Before connecting, ensure you have:

1. An [AI agent](https://docs.moveo.ai/docs/ai-agents/overview.md) created in your account
2. A [knowledge base](https://docs.moveo.ai/docs/knowledge-base/knowledge-base-overview.md) with content added

## Connect a knowledge base to your agent

1. Navigate to **AI Agents**
2. Select the AI agent you want to enhance
3. Open the **Guidelines** tab
4. In the **Knowledge base** field, click **Connect**
5. Select the knowledge base you want to connect

Your agent now uses the connected knowledge base to answer user questions.

## One knowledge base per agent

An AI agent connects to one knowledge base at a time. Selecting a different knowledge base replaces
the current connection. To cover several topics, add all the content to the same knowledge base. One
knowledge base can be connected to more than one AI agent.

## When to use knowledge bases vs dialogs

| Use knowledge bases for | Use dialogs for |
|------------------------|-----------------|
| FAQ-style Q&A | Multi-step processes |
| Static information lookup | API integrations |
| Document-based responses | Conditional logic flows |
| Product information | Collecting user data via forms |

:::tip
Combine both approaches for the best results. Use knowledge bases for information retrieval and dialogs for structured workflows.
:::

## Troubleshooting

### Agent not using knowledge base content

- Verify the knowledge base is connected in the **Guidelines** tab
- Check that the knowledge base contains relevant content
- Ensure the knowledge base language matches user queries

### Responses are inaccurate

- Add more specific content to your knowledge base
- Review and refine your [guidelines](https://docs.moveo.ai/docs/ai-agents/ai-agents-knowledge.md#guidelines)
- Check the [Insights](https://docs.moveo.ai/docs/analytics/insights.md) tab for improvement suggestions

## Next steps

- [Knowledge base overview](https://docs.moveo.ai/docs/knowledge-base/knowledge-base-overview.md) - Learn more about knowledge base features
- [Add FAQs](https://docs.moveo.ai/docs/knowledge-base/knowledge-base-qa.md) - Create FAQ entries
- [Upload documents](https://docs.moveo.ai/docs/knowledge-base/knowledge-base-documents.md) - Import existing documentation
