MongoDB aggregation pipeline

Hello,

Is there any way to execute a MongoDB aggregation pipeline? I have the text of it from MongoDB Compass (it runs successfully in Compass) but I don’t know how to run it from Make.

Thanks!