Navigation

Create a Stitch App

Overview

The following steps guide you through setting up a generic Stitch application.

Prerequisites

Before you begin, you will need a MongoDB Atlas account. You can learn more about creating an Atlas account in the Atlas Getting Started documentation.

Procedure

A. Log on to Atlas

To use MongoDB Stitch, you must be logged into Atlas.

B. Create an Atlas Cluster

To create an Atlas cluster to use with your MongoDB Stitch app, following these steps:

  1. In the left navigation pane, click Clusters, and then click the Build New Cluster button. The Create New Cluster page opens.

  2. Choose your preferred provider and region, tier, and additional settings. As you build your cluster, Atlas displays the associated costs at the bottom of the page.

    Note

    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 the tutorials we offer. For complete documentation on these restrictions, see Atlas M0 (Free Tier), M2, and M5 Limitations.

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

  4. Click the Create Cluster button to save your changes.

Note

For detailed information about the options available when creating an Atlas cluster, see https://docs.atlas.mongodb.com/create-new-cluster/.

C. Add a Stitch App

  1. In Atlas, click Stitch Apps in the left-hand navigation.
  2. Click the Create New Application.
  3. In the Create a new application dialog, provide a name for your Stitch app. The name can only contain ASCII letters, numbers, underscores, and hyphens.
  4. In the Link to Cluster menu, select your Atlas cluster, and then click Create.

Upon creation of your app, you will be redirected to the MongoDB Stitch console. Your app is created with a MongoDB service named mongodb-atlas.