Docs Menu

What are the Atlas Application Services?

Atlas Application Services are fully-managed backend services and APIs that help you build apps, integrate services, and connect to your Atlas data faster.

Get started now by building on our free tier.

Start Building
Atlas App Services Illustration
What You Can Do

Services like Device Sync, APIs, and Triggers make it easy to build and run virtually any app or backend service on top of Atlas.

1

Device Sync uses the SDK's native language objects to define a data model and work with data. Everything you need to add sync to your app is included in the Atlas Device SDK.

To install the SDK, see the SDK documentation for your language and platform.

2

In your Atlas App, enable Device Sync and define read and write permissions to control the data that users can sync. Once Sync is turned on, you can start syncing from any app with the SDKs.

To enable Sync, see Enable Atlas Device Sync.

3

Data that you subscribe to with the SDK is automatically kept in sync with your Atlas cluster and other clients. Apps keep working offline and deterministically sync changes whenever a network connection is available.

To learn how to read, write, and subscribe to data, see the SDK documentation for your language and platform.

Atlas Device Sync Illustration
1

The MongoDB Atlas Data API lets you read and write data in Atlas using HTTPS requests. Once enabled, you can use a built-in endpoint to work with data.

See Data API Endpoints.

2

You can tailor your API with custom endpoints for your application. Each endpoint handles incoming HTTPS requests for a specific route and returns configurable HTTPS responses.

See Custom Endpoints.

3

Generate an API key that you can use to authenticate requests. Alternatively, you can use other authentication provider credentials associated with your app.

For details, see Data API Authentication.

4

Send requests from any server-side environment that supports HTTPS.

curl -X POST \
https://data.mongodb-api.com/app/<YOUR APP ID>/endpoint/data/v1/action/insertOne \
-H 'api-key: <YOUR API KEY>' \
-H 'Content-Type: application/json' \
-d '{
"dataSource": "mongodb-atlas",
"database": "learn-data-api",
"collection": "hello",
"document": {
"text": "Hello from the Data API!",
}
}'
Illustration of an electrical plug and socket that serves as a metaphor for connecting data.
1

Set up a trigger to respond to events like database operations or user logins as they occur. Or, configure a trigger to run on a periodic schedule. For each trigger type you can define custom conditions to control exactly when the trigger should fire.

To learn more, see Triggers.

2

When a trigger fires, it passes the event data to a handler that can perform any action you want. You can run a serverless JavaScript function or pass the event to AWS EventBridge.

3

Once deployed, the trigger constantly listens for events that it is configured to fire on. When an event causes the trigger to fire, it automatically runs the handler logic you defined.

Illustration of a Newton's cradle device that illustrates the cause and effect nature of Atlas Triggers.
Key Features
Atlas Functions Icon

Run your application's backend logic and connect to external services with functions that automatically scale to meet demand.

Serverless JavaScript Functions

Data Access Control Icon

Securely access data from anywhere with dynamic role-based permissions.

Role-Based Permissions

Document Schema Icon

Define your application data model with standard schemas that you can use to validate data and generate language-specific classes.

Schemas and Relationships

User Authentication Icon

Let users register and log in to your app with their preferred authentication method.

User Authentication Providers

Value List Icon

Define and access global values and private secrets from your app's functions and configuration files.

Values & Secrets

Deployment Models Icon

Deploy your app in any of the three major cloud providers with regions around the globe.

App Deployment Models

Additional Resources
MongoDB Community Icon

Meet other MongoDB developers and find tutorials and examples that use your favorite tools.

MongoDB Developer Center

Feedback Icon

Submit and vote on feature requests for MongoDB products.

MongoDB Feedback

MongoDB Support Icon

Get help from MongoDB's official team of support specialists.

MongoDB Support