Connection
On this page
Overview
Learn how to configure your application's connection to a MongoDB deployment using the Node.js driver. In the following sections, you will learn:
Compatibility
You can use the Node.js driver to connect and use the Node.js driver for deployments hosted in the following environments:
MongoDB Atlas: The fully managed service for MongoDB deployments in the cloud
MongoDB Enterprise: The subscription-based, self-managed version of MongoDB
MongoDB Community: The source-available, free-to-use, and self-managed version of MongoDB
To learn more about using drivers to connect for deployments hosted in MongoDB Atlas, see Connect Your Application.
For information about authenticating to MongoDB, see Authentication and Enterprise Authentication Mechanisms.