Navigation

Load Sample Data into Your Atlas Cluster

Atlas provides sample data you can load into your Atlas clusters. You can use this data to quickly get started experimenting with data in MongoDB and using tools such as the Atlas Perform CRUD Operations in Atlas and MongoDB Charts.

For a list of datasets in the sample and a description of each, see Available Sample Datasets for Atlas Clusters. Each dataset page contains information on the databases, collections, and indexes in the dataset.

To utilize the sample data provided by Atlas, you must create an Atlas cluster to load data into. See Create a New Cluster for instructions.

There are two ways in which you can load sample data into your Atlas cluster. You can either load sample data from the Clusters view or the Data Explorer.

Select the appropriate tab based on how you would like to load sample data:

To load sample data into your cluster from the Clusters view:

1

In the left navigation pane in Atlas, click Clusters.

2
  1. Locate the cluster where you want to load sample data.
  2. Click the Ellipses (...) button for your cluster.
  3. Click Load Sample Dataset.
3

The dialog closes and Atlas begins loading your sample dataset into your cluster.

4

To view your sample data by click your cluster's Collections button. You should see the following databases in your cluster:

  • sample_airbnb
  • sample_geospatial
  • sample_mflix
  • sample_supplies
  • sample_training
  • sample_weatherdata

For details on the collections and documents included in these datasets, see Available Sample Datasets for Atlas Clusters.

When you load the sample data, Atlas creates the following namespaces on your cluster:

Warning IconCreated with Sketch.Warning

If any of these namespaces already exist on your cluster when you attempt to load the sample data, the operation will fail and no sample data will be loaded into your cluster.

Database
Collection
sample_airbnb
listingsAndReviews
sample_analytics
accounts
sample_analytics
customers
sample_analytics
transactions
sample_geospatial
shipwrecks
sample_mflix
comments
sample_mflix
movies
sample_mflix
theaters
sample_mflix
users
sample_supplies
sales
sample_training
companies
sample_training
grades
sample_training
inspections
sample_training
posts
sample_training
routes
sample_training
trips
sample_training
zips
sample_weatherdata
data

The Get Started with Atlas tutorial walks through setting up an Atlas cluster and populating that cluster with sample data.

The Atlas Search tutorial demonstrates how to create an Atlas Search index using data from the sample_mflix sample database.

The following MongoDB Charts tutorials guide you through visualizing sample data provided by Atlas:

Visualizing Order Data
Visualize the Sample Supply Store Dataset, which contains sales order data from a mock office supply company.
Visualizing Movie Details
Visualize the Sample Mflix Dataset, which contains data on movies and movie theaters.

The following MongoDB University courses and trainings utilize the sample data provided by Atlas.

M001: MongoDB Basics
MongoDB Basics is designed for learners brand new to MongoDB.
M121: The MongoDB Aggregation Framework
Learn how to use MongoDB Aggregation Framework in your application development practices.
M220J: MongoDB for Java Developers
Learn how to use MongoDB as the database for a Java application.
M220JS: MongoDB for Javascript Developers
Learn how to use MongoDB as the database for a Node.js application.
M220P: MongoDB for Python Developers
Learn how to use MongoDB as the database for a Python application.
All In-Person Training
Get quickly ramped on MongoDB with comprehensive private training programs for developers and operations teams.
Give Feedback