> ## Documentation Index
> Fetch the complete documentation index at: https://dify-6c0370d8-fix-template-upload-size-guidance.mintlify.site/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.

<div style={{display: 'flex', flexWrap: 'wrap', gap: '30px'}}>
  <div style={{flex: 1, minWidth: '200px'}}>
    <Frame>
      <img src="https://mintcdn.com/dify-6c0370d8-fix-template-upload-size-guidance/DXZAC9LfNxo3-5Pn/images/use-dify/knowledge/create-knowledge-pipeline-14.png?fit=max&auto=format&n=DXZAC9LfNxo3-5Pn&q=85&s=c4a980b37e0308fe2ad99e0e41cd2ace" alt="Option A-1" width="1093" height="793" data-path="images/use-dify/knowledge/create-knowledge-pipeline-14.png" />
    </Frame>
  </div>

  <div style={{flex: 2, minWidth: '300px'}}>
    <Frame>
      <img src="https://mintcdn.com/dify-6c0370d8-fix-template-upload-size-guidance/DXZAC9LfNxo3-5Pn/images/use-dify/knowledge/create-knowledge-pipeline-15.png?fit=max&auto=format&n=DXZAC9LfNxo3-5Pn&q=85&s=fa51594f9b2038dcd79f1a9f6d4ea1ce" alt="Option A-2" width="1280" height="545" data-path="images/use-dify/knowledge/create-knowledge-pipeline-15.png" />
    </Frame>
  </div>
</div>

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

<div style={{display: 'flex', flexWrap: 'wrap', gap: '30px'}}>
  <div style={{flex: 1, minWidth: '200px'}}>
    <Frame>
      <img src="https://mintcdn.com/dify-6c0370d8-fix-template-upload-size-guidance/DXZAC9LfNxo3-5Pn/images/use-dify/knowledge/create-knowledge-pipeline-16.png?fit=max&auto=format&n=DXZAC9LfNxo3-5Pn&q=85&s=443f0071944cc94021e085290875f9ea" alt="Option B-1" width="669" height="620" data-path="images/use-dify/knowledge/create-knowledge-pipeline-16.png" />
    </Frame>
  </div>

  <div style={{flex: 2, minWidth: '300px'}}>
    <Frame>
      <img src="https://mintcdn.com/dify-6c0370d8-fix-template-upload-size-guidance/DXZAC9LfNxo3-5Pn/images/use-dify/knowledge/create-knowledge-pipeline-17.png?fit=max&auto=format&n=DXZAC9LfNxo3-5Pn&q=85&s=1cfdb3610daf976014217c0cbba2d062" alt="Option B-2" width="1280" height="521" data-path="images/use-dify/knowledge/create-knowledge-pipeline-17.png" />
    </Frame>
  </div>
</div>

### 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.
   </Warning>

   <Frame>
     <img src="https://mintcdn.com/dify-6c0370d8-fix-template-upload-size-guidance/DXZAC9LfNxo3-5Pn/images/use-dify/knowledge/create-knowledge-pipeline-18.png?fit=max&auto=format&n=DXZAC9LfNxo3-5Pn&q=85&s=24102212df9e4a6911dd0538bc979681" alt="Parameter Input" width="1280" height="601" data-path="images/use-dify/knowledge/create-knowledge-pipeline-18.png" />
   </Frame>

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

   <Frame>
     <img src="https://mintcdn.com/dify-6c0370d8-fix-template-upload-size-guidance/DXZAC9LfNxo3-5Pn/images/use-dify/knowledge/create-knowledge-pipeline-19.png?fit=max&auto=format&n=DXZAC9LfNxo3-5Pn&q=85&s=9b5906310adf921eb4f3d536d512db7e" alt="Processing Progress" width="1280" height="468" data-path="images/use-dify/knowledge/create-knowledge-pipeline-19.png" />
   </Frame>

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

   <Frame>
     <img src="https://mintcdn.com/dify-6c0370d8-fix-template-upload-size-guidance/DXZAC9LfNxo3-5Pn/images/use-dify/knowledge/create-knowledge-pipeline-20.png?fit=max&auto=format&n=DXZAC9LfNxo3-5Pn&q=85&s=71545096baf9e80561127e13024e0c4f" alt="Documents List" width="1280" height="831" data-path="images/use-dify/knowledge/create-knowledge-pipeline-20.png" />
   </Frame>
