Docs Menu
Docs Home
/
MongoDB Compass
/

Save a Pipeline

On this page

  • Steps
  • Learn More

You can save your aggregation pipelines to find and use them again later. If you load a saved pipeline, you can make edits to the pipeline stages without changing the original saved pipeline. You can also create a view from your pipeline results.

1

In the Aggregations pane, click the Save drop-down menu and select Save as.

Save pipeline as
2
3

Click the Save button to save your pipeline. Your pipeline will be saved under the folder icon at the top left of the pipeline builder.

Back

Create an Aggregation Pipeline

On this page