Navigation

Getting Started

Create Stitch App

To use MongoDB Stitch, you must be logged into MongoDB Atlas. If you do not have an Atlas account, follow the instructions in the Atlas documentation to create an account.

1

Log into Atlas.

To use MongoDB Stitch, you must be logged into MongoDB Atlas. If you do not have an Atlas account, follow the instructions in the Atlas documentation to create an account.

2

Create an Atlas cluster.

If you do not already have an Atlas cluster for use with MongoDB Stitch, create a cluster.

Important

You must deploy the Atlas cluster with MongoDB version 3.4 or greater.

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

3

Add a MongoDB Stitch application.

  1. In Atlas, click Stitch Apps in the left-hand navigation.
  2. Click the Create New Application. The name can only contain ASCII letters, numbers, underscores, and hyphens.
  3. Select your Atlas cluster for your MongoDB service.
  4. 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.

Simple HTML Page Tutorial

To get started, go to Build Your First MongoDB Stitch App. This application uses a JavaScript Stitch client to add comments to a blog post. It illustrates many of the basic features of Stitch.

Tip

Complete this tutorial before diving into the ToDo tutorials.

The remainder of the getting started section contains tutorials that demonstrate how to create a MongoDB Stitch app and use MongoDB Stitch to integrate various services for an application.

ToDo Tutorials

The ToDo application maintains a personal todo list.

Tutorial Description
ToDo (Web App)

Integrate with the following services:

  • Google/Facebook user authentication services
  • MongoDB service
  • Twilio service
ToDo (Android App)

Integrate with the following services:

  • Google/Facebook user authentication services
  • MongoDB service
ToDo (iOS App)

Integrate with the following services:

  • Google/Facebook user authentication services
  • MongoDB service