---
title: "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'}}>
    ![Option A-1](/images/knowledge-base/create-knowledge-pipeline-14.png)
  </div>
  <div style={{flex: 2, minWidth: '300px'}}>
    ![Option A-2](/images/knowledge-base/create-knowledge-pipeline-15.png)
  </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'}}>
    ![Option B-1](/images/knowledge-base/create-knowledge-pipeline-16.png)
  </div>
  <div style={{flex: 2, minWidth: '300px'}}>
    ![Option B-2](/images/knowledge-base/create-knowledge-pipeline-17.png)
  </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>
   ![Parameter Input](/images/knowledge-base/create-knowledge-pipeline-18.png)

3. **Process Documents**  
   Track the progress of document processing. After embedding is completed, click **Go to Document**.
   ![Processing Progress](/images/knowledge-base/create-knowledge-pipeline-19.png)

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](/images/knowledge-base/create-knowledge-pipeline-20.png)

{/*
Contributing Section
DO NOT edit this section!
It will be automatically generated by the script.
*/}

---

[Edit this page](https://github.com/langgenius/dify-docs/edit/main/en/guides/knowledge-base/knowledge-pipeline/upload-files.mdx) | [Report an issue](https://github.com/langgenius/dify-docs/issues/new?template=docs.yml)

