Docs Menu
Docs Home
/ /
Atlas Device SDKs
/

Atlas App Services - Web SDK

On this page

  • The App Client
  • Authentication & User Management
  • Query MongoDB
  • Call Functions

Realm SDKs let you connect your client apps to the App Services backend. The SDKs provide the functionality needed to authenticate users with any of the built-in authentication providers, call backend functions, and directly access a linked MongoDB data source.

When using the SDK to access the Atlas App Services backend, you start with a App object. This object provides all other functionality related to App Services.

For further information, see Initialize the App Client.

With the Realm Web SDK, you can manage users with minimal backend setup or client-side code using App Services Authentication. Integrate with 3rd-part OAuth providers, JWT authentication services, or use App Service's built-in user management system.

To learn how to use App Services Authentication with the Realm Web SDK, see User Management.

The Realm SDKs includes MongoDB Data Access for performing CRUD and aggregation operations directly from the browser. For security, configure server-side data access rules to dynamically determine read & write permissions for every object that a user accesses.

To learn how to use the MongoDB APIs, see Query MongoDB.

Atlas Functions let you define and execute server-side logic for your application. Call these Functions from client applications with the Realm Web SDK. These server-side functions can run under the context of the authenticated user, and thus honor the rules, roles, and permissions that you have assigned to your data.

By using Functions, you provide a secure way for multiple client applications to share complex functionality without having to reproduce that logic client-side.

To learn how to use Functions, see Call a Function.

← 
 →