# Add files to a cloud storage bucket or directory

The article explains how to add files from your local file system or a URL to a cloud storage provider attached to the notebook.

Procedure: Upload files or folders

1. In the sidebar, select ![Attach](https://resources.jetbrains.com.cn/help/img/datalore/2026.3/attach.svg)(Attached data) and switch to the Cloud storage tab.

2. If you have not already, attach the cloud storage connection to the notebook by enabling the corresponding toggle.

![Cloud storage tab](https://resources.jetbrains.com.cn/help/img/datalore/2026.3/cloud-storage-attached.png)

3. Click ![Dots](https://resources.jetbrains.com.cn/help/img/datalore/2026.3/dots.svg)(More) in the connection and select Upload files or Upload folder.

![Uploading files into cloud storage](https://resources.jetbrains.com.cn/help/img/datalore/2026.3/files_cs.png)

4. Choose the files or folder you want to upload in your operating system dialog and follow the prompts.

Procedure: Create files

To create a text-based file (CSV, TSV, and other formats) in one of the cloud storage providers attached to your notebook, take the following steps:

1. In the sidebar, select ![Attach](https://resources.jetbrains.com.cn/help/img/datalore/2026.3/attach.svg)(Attached data) and switch to the Cloud storage tab.

2. If you have not already, attach the cloud storage connection to the notebook by enabling the corresponding toggle.

![Cloud storage tab](https://resources.jetbrains.com.cn/help/img/datalore/2026.3/cloud-storage-attached.png)

3. Click ![Dots](https://resources.jetbrains.com.cn/help/img/datalore/2026.3/dots.svg)(More) in the connection and select New file.

![Uploading files into cloud storage](https://resources.jetbrains.com.cn/help/img/datalore/2026.3/files_cs.png)

4. Enter a file name with an extension.

You can create text files in various formats, including `.csv`, `.tsv`, `.json`, `.py`, and more.

5. To open and edit the file in the built-in text editor, double-click the file name.

The changes you make are saved automatically every ten seconds or when you press `Ctrl+S` (Windows), `⌘ S` (macOS).

> **Tip:**
> Full code-editing assistance is available for files with the `.py` extension.

Files and folders added to a cloud storage bucket or directory will be available from any other notebook connected to the same cloud storage.

## Next steps

* Learn how to manage and delete files and directories in [Manage files](manage-attached-files.html).

* Learn how to [view and use workspace files](table-viewer.html) from a notebook.

