Welcome to the documentation site for the Kotlin Driver, the official MongoDB driver for server-side Kotlin applications using coroutines. Download it using Maven or Gradle, or set up a runnable project by following our Quick Start guide.
If your Kotlin application requires synchronous processing, use the Sync Driver which uses synchronous operations to make blocking calls to MongoDB.
Learn how to establish a connection to MongoDB Atlas and begin working with data in the Quick Start section.
See driver syntax examples for common MongoDB commands in the Quick Reference section.
For fully runnable code snippets and explanations for common methods, see the Usage Examples section.
Learn how to perform the following tasks using the Kotlin driver in the Fundamentals section:
The MongoDB Kotlin driver API documentation contains several libraries organized by functionality. For detailed information about classes and methods in each library, see the following table for their descriptions and links to the API documentation.
For answers to commonly asked questions about the MongoDB Kotlin Driver, see the Frequently Asked Questions (FAQ) section.
For solutions to some issues you might experience when connecting to a MongoDB deployment while using the MongoDB Kotlin Driver, see the Connection Troubleshooting section.
Learn how to report bugs, contribute to the driver, and find additional resources for asking questions and receiving help in the Issues & Help section.
For the compatibility charts that show the recommended Kotlin Driver version for each MongoDB Server version, see the Compatibility section.
For a list of new features and changes in each version, see the What's New section.
Visit the Developer Hub to learn more about the MongoDB Kotlin driver.
The Developer Hub provides tutorials and social engagement for developers.
To ask questions and engage in discussions with fellow developers using the Kotlin Driver, visit the MongoDB Developer Community.