---
title: "How to Create Knowledge Bases for AI Agents | Hostman Docs"
description: "Learn how to create a knowledge base for AI Agents, upload data sources, configure OpenSearch storage, and use embedding models for indexing content."
---

> For the complete documentation index for AI agents, see [llms.txt](https://hostman.com/llms.txt).

You can create a knowledge base when creating an agent or separately in the **Knowledge Bases** section. In both cases, the process is similar.

1.  Go to **AI Agents** → **[Knowledge Bases](https://hostman.com/my/cloud-ai/knowledge)**.
2.  Click **Create** or **Add**.
3.  Upload or link your [data sources](https://hostman.com/docs/ai-agents/manage-knowledge-bases/configure-data-sources/).
4.  An OpenSearch cloud database will be created to store the information. Choose an appropriate plan. You can [upgrade it](https://hostman.com/docs/dbaas/configuration/) later if needed.
5.  Assign a name to the knowledge base to make it easier to identify in the dashboard. You may also add an optional comment.
6.  Click **Create**.

The cloud database creation and indexing process will begin. 

The text-embedding-3-large model is used for indexing. Indexing speed depends on the file size.
