Introduction
Welcome to the documentation site for the MongoDB Scala Driver, the official MongoDB driver for Scala applications.
Get Started
Learn how to install the driver, establish a connection to MongoDB, and begin working with data in the Get Started with the Scala Driver tutorial.
Connect to MongoDB
Learn how to create and configure a connection to a MongoDB deployment in the Connect section.
Databases and Collections
Learn how to use the Scala driver to work with MongoDB databases and collections in the Databases and Collections section.
CRUD Operations
Learn how to insert, query, update, and delete data, and how to access results from an Observable, in the CRUD Operations section.
Transform Your Data with Aggregation
Learn how to use the Scala driver to perform aggregation operations in the Transform Your Data with Aggregation section.
Data Formats
Learn how to work with BSON, Extended JSON, and other data formats in the Data Formats section.
Optimize Queries with Indexes
Learn how to work with common types of indexes in the Optimize Queries by Using Indexes section.
Run a Database Command
Learn how to run a database command in the Run a Database Command section.
MongoDB Search
Learn how to run MongoDB Search queries in the Run MongoDB Search Queries section.
MongoDB Vector Search
Learn how to run MongoDB Vector Search queries in the MongoDB Vector Search section.
Logging and Monitoring
Learn how to monitor changes to your application and write them to logs in the Logging and Monitoring section.
Secure Your Data
Learn how to authenticate your application and encrypt your data in the Secure Your Data section.
Reference
Find information about new features, driver version compatibility, and upgrade steps in the Reference section.
Compatibility
To learn about the versions of the MongoDB Server and Scala that are compatible with each version of the Scala driver, see the Compatibility page.
API Documentation
For detailed information about the classes and methods in the Scala driver, see the MongoDB Scala Driver API documentation.
Issues & Help
Learn how to report bugs, contribute to the driver, and find more resources for asking questions and receiving help in the Issues & Help section.
Learn
You can find support for general questions by using the MongoDB Stack Overflow tag or the MongoDB Reddit community.