Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex DataSphere
  • Getting started
    • All guides
      • Connecting to JupyterLab from a local IDE
      • Selecting computing resources
      • Checking GPU load
      • Getting a notebook ID
      • Installing packages
      • Notebook code snippets
      • Clearing notebook cell outputs
      • Working with Git
      • Setting up template-based notebook creation
    • Migrating a workflow to a new version
  • Terraform reference
  • Audit Trails events
  • Access management
  • Pricing policy
  • Public materials
  • Release notes
  1. Step-by-step guides
  2. DataSphere Notebook
  3. Setting up template-based notebook creation

Setting up template-based JupyterLab notebook creation

Written by
Yandex Cloud
Updated at March 26, 2024

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

  1. Create the datasphere-templates folder in the root directory of your project.

  2. 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.

  3. You can create multiple templates for different use cases and group them in different folders.

    Sample structure of the datasphere-templates folder used to store JupyterLab templates:

    datasphere-templates/
                         |
                         |_ template-group-1/
                         |                   |
                         |                   |_ template_notebook1.ipynb
                         |                   |_ template_notebook2.ipynb
                         |
                         |_ template-group-2/
                                             |
                                             |_ template_notebook3.ipynb
                                             |_ template_notebook4.ipynb
    
  4. Refresh the page in your browser.

  5. You will see the Template button in the Notebook section on the JupyterLab home page. Click it and select the folder and notebook you need.

Was the article helpful?

Previous
Working with Git
Next
Using secrets
Yandex project
© 2025 Yandex.Cloud LLC