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

# Build a Custom Knowledge Base

To build a custom knowledge base, you design a knowledge pipeline. A knowledge pipeline is a document processing workflow that transforms raw data into searchable knowledge bases. As with orchestrating a workflow, you can visually combine and configure different processing nodes and tools to optimize data processing for better accuracy and relevance.

Every knowledge pipeline normally follows a structured flow through four key steps:

**Data Sources → Data Extraction → Data Processing → Knowledge Storage**

Each step serves a specific purpose: gathering content from various sources, converting it to processable text, refining it for search, and storing it in a format that enables fast, accurate retrieval.

Dify provides built-in pipeline templates that is optimized for certain use cases, or you can also create knowledge pipelines from scratch. In this session, we will go through creating options, general process of building knowledge pipelines, and how to manage it.

**Step 1**

> [card] [Step 1: Create Knowledge Pipeline](https://enterprise-docs.dify.ai/en/3.13.x/use/knowledge/knowledge-pipeline/create-knowledge-pipeline.md)
>
> Start from built-in templates, blank knowledge pipeline or import existing pipeline.

**Step 2**

> [card] [Step 2: Orchestrate Knowledge Pipeline](https://enterprise-docs.dify.ai/en/3.13.x/use/knowledge/knowledge-pipeline/knowledge-pipeline-orchestration.md)
>
> Get to know how the knowledge pipeline works, orchestrate different nodes and make sure it’s ready to use.

**Step 3**

> [card] [Step 3: Publish Knowledge Pipeline](https://enterprise-docs.dify.ai/en/3.13.x/use/knowledge/knowledge-pipeline/publish-knowledge-pipeline.md)
>
> Let's make it ready for document processing.

**Step 4**

> [card] [Step 4: Upload Files](https://enterprise-docs.dify.ai/en/3.13.x/use/knowledge/knowledge-pipeline/upload-files.md)
>
> Add documents and process them into the searchable knowledge base.

**Step 5**

> [card] [Step 5: Manage and Use Knowledge Base](https://enterprise-docs.dify.ai/en/3.13.x/use/knowledge/knowledge-pipeline/manage-knowledge-base.md)
>
> Maintain documents, test retrieval, modify settings, and more.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.