This documentation refers to the MongoDB Charts service in MongoDB Atlas. Read the on-premises documentation to learn how to use the MongoDB Charts on site.

Launch MongoDB Charts

The following tutorial guides you through launching the Charts SaaS application. Alternatively, you can install and run Charts locally by following the guide on this page.


MongoDB Charts is accessible through MongoDB Atlas. You will need a MongoDB Atlas user account to complete this procedure. To learn more about creating an Atlas user, see the Atlas Getting Started documentation.

You will also need an Atlas cluster to visualize data using Charts. The steps on this page guide you through creating an Atlas cluster.


Each instance of the MongoDB Charts application is tied to a single Atlas project, and can only visualize data from Atlas clusters within the same project.

Required Access

To access MongoDB Charts, your Atlas user must have appropriate permissions to read data from the clusters in your Atlas project. This means that your Atlas user can have any Project Role except Project Read Only, which does not grant the appropriate permissions.

When you first register an Atlas account, you are granted the Project Owner role on your initial project. For information on configuring additional users and roles, see Atlas Access in the Atlas documentation.



Log into MongoDB Atlas.

To access the MongoDB Charts application, you must be logged into Atlas.


Select your desired Atlas project, or create a new project.

If you have an Atlas project with clusters containing data you wish to visualize, select the project from the Context dropdown in the left navigation pane.

If you do not have a suitable existing Atlas project, see Create a Project in the Atlas documentation for instructions on creating a new project.


(Optional) Invite people to your Atlas project and shared Charts instance.

All Atlas project users with Project Roles other than Project Read Only have access to the Charts instance associated with that project. To add additional members to your Atlas project, see Manage Project Users and Teams in the Atlas documentation.


(Optional) Create an Atlas cluster.

The MongoDB Charts application makes it easy to add collections in your cluster as data sources. Data sources reference specific collections which you can access in the Chart Builder to visualize the data in those collections.


You can skip this step if you already have an Atlas cluster in the current project.

To create an Atlas cluster:

  1. In the left navigation pane, click Clusters.

  2. Click Build a New Cluster.

  3. In the Create New Cluster page, choose your preferred cloud provider and region, cluster tier, and additional settings. As you build your cluster, Atlas displays the associated cluster costs at the bottom of the page.


    Atlas provides a Free Tier M0 replica set as well as paid M10+ clusters. Free Tier deployments have restrictions as compared to paid M10+ deployments, but will work for the purposes of this setup and all Charts tutorials offered in this documentation. For complete documentation on these restrictions, see Atlas M0 (Free Tier), M2, and M5 Limitations.

  4. The default cluster name is Cluster0. If you wish to change your cluster name, do so now, as cluster names cannot be changed once configured.

  5. Click the Create Cluster button to deploy your cluster.


For complete instructions on creating an Atlas cluster and details on all available configuration options, see Create a Cluster in the Atlas documentation.


Launch the MongoDB Charts application.

  1. In Atlas, click Charts in the navigation bar.
  2. If this is the first time you are launching Charts, click Activate MongoDB Charts. This provisions a new Charts instance in the Atlas project.

To navigate back to the Atlas Clusters view, click Atlas at the top-left of the MongoDB Charts application.


When you first launch MongoDB Charts, Charts automatically creates new MongoDB users in your Atlas project to access your cluster data. The names of these users have the following format: mongodb-stitch-charts-<PROJECT-NAME>-<ID>_<CLUSTER-NAME>


Add your desired cluster collections as data sources.

  1. In the Charts application, click Data Sources.

  2. Click New Data Source. Charts displays all Atlas clusters in the project from which you launched Charts.

  3. Click the cluster containing the collection(s) wish to add as data sources, then click Connect.

  4. Select the collections to add as data sources.

    To add all collections within a database, click the corresponding checkmark for the desired database. Charts creates a separate data source for each collection selected.

  5. Click Set Permissions.

  6. Leave these options as default and click Publish Data Source.


    For detailed instructions on data source permissions, see Data Source Permissions.

Moving Forward

Now that you have configured a data source, you are ready to begin visualizing your data. The next steps are to create a dashboard, and then build charts to populate your dashboard.

For complete walkthroughs of MongoDB Charts and its features, including downloadable data sets to visualize, see the following Tutorials.

Delete Your MongoDB Charts Instance


Deleting a MongoDB Charts instance deletes all data associated with that instance including dashboards, data sources, and metadata. Once the MongoDB Charts instance is deleted, this data cannot be recovered.

If you are an Atlas Project Owner, you can deactivate and delete a MongoDB Charts instance linked to your Atlas project from your Atlas Project Settings.

If you delete your linked MongoDB Charts instance, you can create a new MongoDB Charts instance for your project at any time. The newly created instance does not retain any data from previously deleted instances.

←   MongoDB Charts Tutorials  →