Docs Menu
Docs Home
/ / /
Node.js Driver
/

Connection

On this page

  • Overview
  • Compatibility

Learn how to configure your application's connection to a MongoDB deployment using the Node.js driver. In the following sections, you will learn:

  • How to Connect to MongoDB

  • The Available Connection Options

  • How to Enable Network Compression

  • How to Enable TLS on a Connection

  • How to Enable SOCKS5 Proxy Support

  • How to Connect to MongoDB Atlas from AWS Lambda

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.

← Fundamentals