Docs Menu

Docs HomeDevelop ApplicationsMongoDB Manual

Getting Started

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:

MongoDB Atlas Free Tier Cluster
MongoDB Atlas is a fast, easy, and free way to get started with MongoDB. To learn more, see the Getting Started with Atlas tutorial.
Local MongoDB installation
For more information on installing MongoDB locally, see Install MongoDB.

For additional examples, including MongoDB driver specific examples (Python, Java, Node.js, etc.), see:

Query document examples
Update document examples
Delete document examples
←  Introduction to MongoDBDatabases and Collections →