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

# Upload files

> Upload remote URLs, previously-downloaded files, or local files with the **File upload** step.

<Warning>
  The **File upload** step must come **before** the step that opens the native
  file picker.
</Warning>

## Setup

1. Add a **File upload** step with a source:
   * **Remote URL**: `http://...` or `https://...` (publicly accessible)
   * **Previously downloaded file**: `file://<download-key>` from an earlier
     [download step](/guides/page-interactions/download-files)
   * **Local file**: absolute path, or path relative to `momentic.config.yaml`
2. (Optional) Set a **File name** to rename the uploaded file.
3. Add a **Click** step on the button that opens the file picker.

## Limits

* One file per step.
* Maximum file size: 50MB.

## Related

* [Download files](/guides/page-interactions/download-files)
* [Files integration](/integrations/files)
