MongoDB Kotlin Sync Driver
Introduction
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.
Get Started
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.
Connect to MongoDB
Learn how to create and configure a connection to a MongoDB deployment in the Connect to MongoDB section.
What's New
For a list of new features and changes in each version, see the What's New section.
Write Data to MongoDB
Learn how you can write data to MongoDB in the Write Data to MongoDB section.
Read Data from MongoDB
Learn how you can retrieve data from MongoDB in the Read Data from MongoDB section.
Optimize Queries with Indexes
Learn how to work with common types of indexes in the Optimize Queries by Using Indexes section.
Transform Your Data with Aggregation
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.
Specialized Data Formats
Learn how to work with specialized data formats and custom types in the Specialized Data Formats section.
Use Builders API
Learn how to work with the builder operation helpers in the Use Builders Code Pattern section.
In-Use Encryption
Learn how to use in-use encryption to encrypt your MongoDB data in the In-Use Encryption section.
Compatibility
For the compatibility charts that show the recommended Kotlin Sync driver version for each MongoDB Server version, see the Compatibility section.
Validate Driver Artifact Signatures
Learn about how to validate signatures of Kotlin Sync driver artifacts published on Maven in the Validate Driver Artifact Signatures section.
Learn
Visit the Developer Hub to learn more about the MongoDB Kotlin Sync Driver.
Developer Hub
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.