Like most complex software systems, MongoDB can be controlled with what is called a command-line interface, often referred to as a CLI.īy entering commands into the CLI, you tell MongoDB how to operate, get information about how the MongoDB cluster is running, and perform fundamental actions like the one we will cover today: creating a database.
You can manually enter new documents, or connect to the database using any of the MongoDB drivers. Deploy your first cluster in less than 10 minutesĬreating a MongoDB Database with the Atlas UIįrom your cluster page, click on “Browse Collections.”.Register a free Atlas account with your email address (no credit card required).To create a database on MongoDB Atlas, you will need to register an Atlas account and create your first forever-free cluster: This free tier is more than enough for the purposes of this article. A free tier is available with basic database functionalities. The easiest way to get started with MongoDB is by using the Atlas developer data platform. All methods are available for MongoDB Atlas, MongoDB’s developer data platform, and for self-managed clusters. In this article, we will cover how to create a database using the MongoDB Atlas UI (User Interface), the MongoDB Shell (mongosh), or using Compass, the MongoDB GUI. So you want to try MongoDB, but you're not sure how to create a database.