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

# Step 4: Upload Files

After publishing knowledge pipeline, there're two ways to upload files as below:

A: Click **Go to Documents** in the success notification to add or manage documents. After entering Documents page, click **Add File** to upload.

![Option A-1](https://mintcdn.com/dify-6c0370d8/Z6MqdkI3dck9_1H6/images/use-dify/knowledge/create-knowledge-pipeline-14.png?fit=max\&auto=format\&n=Z6MqdkI3dck9_1H6\&q=85\&s=d158b8c96cea5d907b3f04fb01109d58)

![Option A-2](https://mintcdn.com/dify-6c0370d8/Z6MqdkI3dck9_1H6/images/use-dify/knowledge/create-knowledge-pipeline-15.png?fit=max\&auto=format\&n=Z6MqdkI3dck9_1H6\&q=85\&s=a654bdd712b9dd1509e4103ef5f8f874)

B: Click **Go to Add Documents** to add documents.

![Option B-1](https://mintcdn.com/dify-6c0370d8/Z6MqdkI3dck9_1H6/images/use-dify/knowledge/create-knowledge-pipeline-16.png?fit=max\&auto=format\&n=Z6MqdkI3dck9_1H6\&q=85\&s=0d334489eb308e55fc3997f14da4df66)

![Option B-2](https://mintcdn.com/dify-6c0370d8/Z6MqdkI3dck9_1H6/images/use-dify/knowledge/create-knowledge-pipeline-17.png?fit=max\&auto=format\&n=Z6MqdkI3dck9_1H6\&q=85\&s=638d8d8b1b93fd8a5302225a87a8b1b0)

### Upload Process

1. **Select Data Source**\
   Choose from the data source types configured in your pipeline. Dify currently supports 4 types of data sources: File Upload (pdf, docx, etc.), Online Drive (Google Drive, OneDrive, etc.), Online Doc (Notion), and Web Crawler (Jina Reader, Firecrawl).
   Please visit [Dify Marketplace](https://marketplace.dify.ai/) to install additional data sources.

2. **Fill in Processing Parameters and Preview**\
   If you configured user input fields during pipeline orchestration, users will need to fill in the required parameters and variables at this step. After completing the form, click **Preview** to see chunking results. Click **Save & Process** to complete knowledge base creation and start data processing.

   > [!WARNING]
   >
   > Important reminder: Chunk structure remains consistent with the pipeline configuration and won't change with user input parameters.

   ![Parameter Input](https://mintcdn.com/dify-6c0370d8/Z6MqdkI3dck9_1H6/images/use-dify/knowledge/create-knowledge-pipeline-18.png?fit=max\&auto=format\&n=Z6MqdkI3dck9_1H6\&q=85\&s=de78e3773e89d0032b220cbf69da8e03)

3. **Process Documents**\
   Track the progress of document processing. After embedding is completed, click **Go to Document**.

   ![Processing Progress](https://mintcdn.com/dify-6c0370d8/Z6MqdkI3dck9_1H6/images/use-dify/knowledge/create-knowledge-pipeline-19.png?fit=max\&auto=format\&n=Z6MqdkI3dck9_1H6\&q=85\&s=32b2494979b870177b3d351e6d22f527)

4. **Access Documents List**\
   Click **Go to Documents** to view the Documents page, where you can browse all uploaded file, processing status, etc.

   ![Documents List](https://mintcdn.com/dify-6c0370d8/Z6MqdkI3dck9_1H6/images/use-dify/knowledge/create-knowledge-pipeline-20.png?fit=max\&auto=format\&n=Z6MqdkI3dck9_1H6\&q=85\&s=27388072dba78dacfea5f256120c0381)


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