MongoDB Compass Install

Connecting to your Mongo Atlas Database with Mongo Compass

Prerequisites

Please read and execute the steps laid out in the "Setting up your database" portion of the Basic Deployment guide. You should also have the MongoDB Compass application installed onto your local machine. Please follow the following guides on how to do so:

Signup for MongoDB Atlas

Download and install MongoDB Compass

First, we want to setup our MongoDB Compass application on our local machine, which will allow us to monitor, export and import raw database data. If you have not already installed Compass, please do so.

Copy the string that is created and open mongoDB Compass application on your local machine. You will be prompted and then you will see the connect to server form. Input the password you saved from earlier when creating the admin database user and connect.

From here you can view all items and documents in their raw text form, and export and import databases without limitations. Be however mindful of inadvertently corrupting valid data, and try to avoid modifying data individually without reason.

You may also choose to share this database with others through Mongo Atlas's browser interface (not through Compass) and add new users with read-only access.

Exporting Raw JSON data from Database

Compass allows you to export and import raw database information as a json. This may be useful to store data on your local machine instead of a remote instance.

Last updated