Atlas Device SDK for Kotlin
Use the Atlas Device SDK for Kotlin to develop Android or iOS apps using the Android platform or Kotlin Multiplatform (KMP).
Get Started with the Kotlin SDK

Quick Start
Minimal-explanation code examples of how to work with the SDK. Write to the device database, and sync with other devices.

Working Example App
Learn from example by dissecting a working Kotlin client app that uses the Kotlin SDK.

Guided Tutorial
Follow a guided tutorial to learn how to adapt the example app to create your own working app.
Develop Apps with the SDK
Use the SDK's open-source database - Realm - as an object store on the device. Use Device Sync to keep data in sync with your MongoDB Atlas cluster and other clients.
Recommended Reading


Migrate from the Java SDK to the Kotlin SDK
Learn why and how to switch from the Java SDK to the Kotlin SDK.
Example Projects
Explore engineering and expert-provided example projects to learn best practices and common development patterns using the Kotlin SDK. Check out the Example Projects page for more Kotlin sample apps.


Offline Login and Database Access
Log in a Device Sync user and open a synced database offline.


Connection State Change & Error Handling
Learn best practices around handling Sync errors and client reset strategies.