You can connect your client apps to the Realm backend using the SDK. Backend functionality includes:
To connect to your Realm backend, start with a App object. This object provides all other functionality related to the backend. Initialize an App with the Realm app ID, which you can find in the Realm UI.
To learn how to initialize the Realm App client, see Connect to a MongoDB Realm Backend App - Kotlin SDK.
One of the most challenging aspects of client development is implementing a robust and secure authentication system. With the Realm SDKs, however, you can use any of the MongoDB Realm authentication providers with minimal backend setup and client-side code. With the authentication APIs, you can implement the following functionality:
- Create new user accounts
- User log in and log out
- Multiple users logged on at the same time on the same device
- Link user accounts from different providers
- Store custom data for a particular user
To learn how to set up authentication in your app, see Authenticate Users - Kotlin SDK.