Navigation

Create a Stitch App (Stitch UI)

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.

  1. 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, enter an Application Name for your Stitch app.

    App Name Limitations

    Application names must be between 1 and 32 characters and may only contain ASCII letters, numbers, underscores, and hyphens.

  4. Select a cluster in your project in your project from the Link to Cluster dropdown. Stitch will automatically create a MongoDB service that is linked to this cluster.

  5. Enter a name for the service that Stitch will create in the Stitch Service Name field.

  6. Select a deployment model and deployment region for your application.

  7. Click Create.

../../_images/create-new-app-modal.png

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.