Overview
Theshow() function (aliased as show_dashboard) opens the ZenML dashboard in your default web browser. This provides quick access to the ZenML UI for viewing pipelines, artifacts, models, and more.
Signature
Parameters
If
True, shows the dashboard for the local ZenML server. If False, shows the dashboard for the currently active server (could be remote).An ngrok authentication token to expose the ZenML dashboard on a public domain. Primarily useful for accessing the dashboard in cloud notebooks like Google Colab.
Return Value
This function does not return a value. It opens the dashboard in your default web browser.
Usage Examples
Open Active Server Dashboard
Open Local Server Dashboard
Use in Jupyter Notebooks
Expose Dashboard with ngrok
Quick Pipeline Debugging
Dashboard Features
When you open the dashboard, you can:View Pipeline Runs
See all pipeline executions with status, duration, and artifacts
Explore Artifacts
Browse artifacts with lineage, metadata, and visualizations
Monitor Models
Track model versions, stages, and performance metrics
Manage Stacks
Configure and switch between different infrastructure stacks
View DAGs
Visualize pipeline structure and step dependencies
Compare Runs
Compare metrics and parameters across multiple runs
Server Connection
Theshow() function requires an active connection to a ZenML server:
Errors
RuntimeError: Not connected to any server
RuntimeError: Not connected to any server
This error occurs when ZenML is not connected to any server. Fix by running:
Dashboard doesn't open
Dashboard doesn't open
- Check your default browser settings
- The dashboard URL is still printed to console - copy and paste manually
- Verify the server is running:
zenml status
CLI Alternative
You can also open the dashboard via CLI:Related Functions
get_pipeline_context
Access pipeline information programmatically
get_step_context
Access step information in code
CLI: zenml show
Command-line dashboard access
Notes
The
show() function is aliased as show_dashboard in the ZenML imports. Both names work identically.In cloud notebook environments (Colab, Databricks), use the
ngrok_token parameter to expose the dashboard via a public URL.