For AI agents: a documentation index is available at https://www.mongodb.com/docs/llms.txt — markdown versions of all pages are available by appending .md to any URL path.
Docs Menu

Insert and View a Document in Your Cluster

Estimated completion time: 5 minutes

After you've connected to your Atlas cluster, you can interact with it. In this tutorial, you insert data into your cluster and read the new data by using mongosh, the Atlas UI, MongoDB Compass, or a supported MongoDB driver.

Use the Select your language drop-down menu to set the method for this tutorial.

To interact with a cluster, you must be a database user.

Before you start, you must configure your preferred connection method. To learn more, see Connect to MongoDB Search Community.

If you continue to grow your cluster, consider scaling your cluster to support more users and operations.

You can load a sample dataset to quickly start experimenting with data in MongoDB and using tools such as the Atlas UI and MongoDB Charts. To learn more, see Import Sample Data Into Your Atlas Deployment.

You can also generate synthetic data. To learn more, see Generate Synthetic Data.