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.


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

Save pipeline as

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.


Create an Aggregation Pipeline


Open a Saved Pipeline

On this page