[Yandex Cloud documentation](../../../index.md) > [Yandex DataSphere](../../index.md) > [Step-by-step guides](../index.md) > DataSphere Notebook > Setting up template-based notebook creation

# Setting up template-based JupyterLab notebook creation

To create JupyterLab notebooks from a template, activate the `JupyterLab-templates` extension. To do this:

1. Create a folder named `datasphere-templates` in the root directory of your project.
1. In `datasphere-templates`, create a nested folder with any name, e.g., `template-group-1`. In this folder, create a template notebook with any name, e.g., `template_notebook1.ipynb`.
1. You can create multiple templates for different use cases and group them in different folders.

    Here is a sample structure of the `datasphere-templates` folder used to store JupyterLab templates:

    ```text
    datasphere-templates/
                         |
                         |_ template-group-1/
                         |                   |
                         |                   |_ template_notebook1.ipynb
                         |                   |_ template_notebook2.ipynb
                         |
                         |_ template-group-2/
                                             |
                                             |_ template_notebook3.ipynb
                                             |_ template_notebook4.ipynb
    ```

1. Refresh your browser page.
1. You will see the **Template** button under **Notebook** on the JupyterLab home page. Click it and select the folder and notebook.