[Yandex Cloud documentation](../../../index.md) > [Yandex DataSphere](../../index.md) > [Step-by-step guides](../index.md) > DataSphere Notebook > Notebook code snippets

# Notebook code snippets

{% note warning %}

After April 20, 2026, you will not be able to create new [datasets](../../concepts/dataset.md). Use [file storages](../../concepts/filestores.md) to store your data. Datasets created before April 20, 2026 will continue to work without any changes.

{% endnote %}

The notebook contains code snippets for simple operations. Use them to extract files from a ZIP archive, create a dataset, or connect to file storages. Since the snippet library is updated regularly, the latest list of code snippets is available in the IDE.

## Getting started {#before-begin}

Open the DataSphere project:

1. Select the project in your community or on the DataSphere [home page](https://datasphere.yandex.cloud) in the **Recent projects** tab.
1. Click **Open project in JupyterLab** and wait for the loading to complete.
1. Open the notebook tab.

## Running a snippet {#run}

1. In the top menu, click **Snippets** and select the snippet you want to run. This will add the code to a new notebook cell.
1. Edit the parameters, such as file paths, names, usernames, and passwords as appropriate. For private information, use [secrets](../../concepts/secrets.md).
1. If a snippet contains additional instructions, run them as well.
1. Run the cell. To do this, click ![Run](../../../_assets/datasphere/jupyterlab/run.svg).
1. The code execution result will appear below the cell.

#### Useful links {#see-also}

* [Connecting to Yandex Disk](../data/connect-to-ya-disk.md)
* [Connecting to Google Drive](../data/connect-to-google-drive.md)
* [Working with Git](work-with-git.md)