Docs Menu
Docs Home
/ /

MongoDB Kotlin Sync Driver

Welcome to the documentation site for the MongoDB Kotlin Sync Driver, the official MongoDB driver for synchronous Kotlin applications. Download the driver by using Maven or Gradle, or set up a runnable project by following our Quick Start guide.

Tip

Other Kotlin Platforms for MongoDB

If your Kotlin application requires asynchronous processing, use the Coroutine Driver, which uses coroutines for server-side applications.

If you are developing an Android or Kotlin Multiplatform (KMP) application, you can use the MongoDB Atlas Device Kotlin SDK to implement Device Sync and to manage your Realm data.

Learn how to install the driver, establish a connection to MongoDB, and begin working with data in the Get Started with the Kotlin Sync Driver tutorial.

Learn how to create and configure a connection to a MongoDB deployment in the Connect to MongoDB section.

Learn how you can write data to MongoDB in the Write Data to MongoDB section.

Learn how you can retrieve data from MongoDB in the Read Data from MongoDB section.

Learn how to work with common types of indexes in the Optimize Queries by Using Indexes section.

Learn how to use the Kotlin Sync driver to perform aggregation operations in the Transform Your Data with Aggregation section.

Learn how to use aggregation expression operations to build aggregation stages in the Aggregation Expression Operations section.

Learn how to work with specialized data formats and custom types in the Specialized Data Formats section.

Learn how to work with the builder operation helpers in the Use Builders Code Pattern section.

Learn how to use in-use encryption to encrypt your MongoDB data in the In-Use Encryption section.

For the compatibility charts that show the recommended Kotlin Sync driver version for each MongoDB Server version, see the Compatibility section.

Learn about how to validate signatures of Kotlin Sync driver artifacts published on Maven in the Validate Driver Artifact Signatures section.

For a list of new features and changes in each version, see the What's New section.

Learn how to report bugs, contribute to the driver, and find more resources for asking questions and receiving help in the Issues & Help section.

Visit the Developer Hub to learn more about the MongoDB Kotlin Sync Driver.

The Developer Hub provides tutorials and social engagement for developers.

To learn how to use MongoDB features with the Kotlin Sync driver, see the How-Tos and Articles page.

To ask questions and engage in discussions with fellow developers who use the Kotlin Sync driver, see the forums page.

Next

Get Started