Welcome to the ZenML Interactive Tutorial Extension 👋
This VS Code extension provides an interactive, hands-on learning experience for ZenML - the open-source MLOps framework. Master ZenML fundamentals through 10 guided pipeline examples with step-by-step tutorials and one-click execution!
✨ What You'll Learn
- Pipeline Fundamentals - Create your first ZenML pipeline
- Data Flow - Pass data between pipeline steps
- Parameters - Make pipelines flexible with parameters
- Organization - Tag and organize your pipeline runs
- Tracking - Log metadata to record useful facts about runs
- Visualizations - Create automatic & custom charts
- Performance - Use caching and parallel processing
- Reliability - Handle errors with retries and hooks
- Configuration - Use YAML to separate configuration from code
10 Progressive Tutorials that build from basic concepts to advanced ZenML patterns.
🚀 Get Started
GitHub Codespaces (Recommended)
The fastest way to get started - no local setup required.
- Click Code ▶ Codespaces ▶ Create codespace on develop
- Wait ~2 min for setup (container, dependencies, extension)
- The extension will launch automatically
Local Setup with Extension from Marketplace
Prerequisites:
- Python 3.8 or higher
- VS Code
Steps:
Set up Python virtual environment:
python -m venv zenml-tutorial-env
source zenml-tutorial-env/bin/activate # On Windows: zenml-tutorial-env\Scripts\activate
Install ZenML:
pip install zenml
Initialize ZenML:
zenml init
Start the ZenML server locally:
zenml login --local
Install the extension:
- Install from the Marketplace or search for "ZenML Tutorial" in the Extensions Marketplace
Launch the tutorial:
- Open VS Code and the extension will launch automatically
💻 Alternative: Local Setup with Dev Containers
Requirements:
Steps:
- Clone this repo & open in VS Code
- Click Reopen in Container when prompted
- Extension starts automatically
🎓 Tutorial Structure
Tutorial |
Topic |
Skills |
1 |
Hello World |
Basic pipeline creation |
2 |
Step I/O |
Data flow between steps |
3 |
Parameters |
Pipeline configuration |
4 |
Tagging |
Run organization |
5 |
Metadata |
Logging and tracking |
6 |
Caching |
Performance optimization |
7 |
Visualizations |
Charts and plots |
8 |
Fan-out/Fan-in |
Parallel processing |
9 |
Retries & Hooks |
Error handling |
10 |
YAML Config |
Configuration management |
🎮 How to Use
- Run pipelines via the “Run Pipeline” button
- Navigate with Previous/Next buttons
- Inspect output in the terminal and Dashboard link
- Experiment by editing any example code
⚙️ Extension Configuration
Auto-Open Tutorial
The tutorial homepage opens automatically when you start VS Code in the following scenarios:
- On first install (always opens the first time you install the extension)
- In GitHub Codespaces (when
CODESPACES=true
)
- When tutorial is enabled (when
ZENML_ENABLE_TUTORIAL=true
)
- When user setting is enabled (see configuration options below)
You can control the user preference behavior:
🔧 Quick Disable
When the welcome message appears, click "Don't Show Again" to disable auto-opening.
🔧 Settings UI
- Open VS Code Settings (
Ctrl+,
or Cmd+,
)
- Search for "zenml"
- Toggle "Auto Open Tutorial" on/off
🔧 Settings JSON
Add to your VS Code settings to enable auto-open (disabled by default):
{
"zenml.autoOpenTutorial": true
}
Note: You can always access the tutorial manually via the ZenML sidebar (book icon) or Command Palette (Ctrl+Shift+P
→ "ZenML: Open ZenML Tutorial Homepage").
📖 Manual Tutorial Access
If the tutorial doesn't open automatically, you can easily access it manually:
Method 1: Using the ZenML Tutorial Sidebar
- Look for the ZenML Tutorial icon (📖) in the Activity Bar (left side of VS Code)
- Click on it to open the tutorial panel
- Click "Open Homepage" to start the tutorial

Method 2: Using the Main Sidebar
- Open the main VS Code sidebar (Explorer view)
- Scroll down to find "ZenML Tutorial" in the extensions list
- Click on it to access the tutorial

Method 3: Using Command Palette
- Press
Ctrl+Shift+P
(or Cmd+Shift+P
on Mac)
- Type "ZenML: Open ZenML Tutorial Homepage"
- Press Enter
Once opened, you'll see the welcome screen:

Dashboard URL
Configure the ZenML dashboard URL for pipeline run links:
{
"zenml.dashboardUrl": "http://localhost:8237"
}
🛟 Getting Help