This tutorial walks you through inserting test data into a MongoDB database and querying that data using the documentation's embedded web shell. You do not need to deploy or install MongoDB to complete this tutorial.
The examples in this tutorial use a subset of the Sample Mflix Dataset, which is part of the sample data included in MongoDB's cloud-hosted service, MongoDB Atlas. Atlas requires no installation overhead and offers a free tier to get started. After completing this tutorial, you can use Atlas to explore additional sample data or host your own data.
Click inside the shell to connect. Once connected, you can run the examples in the shell above.
To set up your own deployment:
For additional examples, including MongoDB driver specific examples (Python, Java, Node.js, etc.), see: