MongoDB Realm Web SDKΒΆ

The MongoDB Realm Web SDK enables server-side client applications to access data stored in MongoDB Atlas and interact with MongoDB Realm services like Functions and authentication. The Web SDK supports both JavaScript and TypeScript applications.


The Web SDK does not support JavaScript or TypeScript applications written for the Node.js environment or React Native mobile apps. For those use cases, you should consider the Node.js SDK and the React Native SDK.

To learn how to connect to the GraphQL API from a client application, see Connect from a Client Application.

To learn how to run queries and mutations from your preferred client, see Execute a GraphQL Operation.

For an example of how to run a query from a client application, see Run a GraphQL Query.