Setting up template-based JupyterLab notebook creation
Written by
Updated at August 15, 2025
To create JupyterLab notebooks from a template, activate the JupyterLab-templates extension. To do this:
-
Create a folder named
datasphere-templatesin the root directory of your project. -
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. -
You can create multiple templates for different use cases and group them in different folders.
Here is a sample structure of the
datasphere-templatesfolder 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 -
Refresh your browser page.
-
You will see the Template button under Notebook on the JupyterLab home page. Click it and select the folder and notebook.