@@ -8,17 +8,17 @@ Connection Guide
88 :name: genre
99 :values: reference
1010
11- .. meta::
12- :keywords: node.js
11+ .. meta::
12+ :keywords: node.js, code example, connection string, local connection, Stable API, Atlas
1313
1414.. contents:: On this page
1515 :local:
1616 :backlinks: none
1717 :depth: 2
1818 :class: singlecol
1919
20- This guide shows you how to connect to a
21- `MongoDB Atlas deployment <https://www.mongodb.com/docs/atlas>`__,
20+ This guide shows you how to connect to a
21+ `MongoDB Atlas deployment <https://www.mongodb.com/docs/atlas>`__,
2222a MongoDB instance, or a replica set using the Node.js driver.
2323
2424.. _node-connection-uri:
@@ -34,21 +34,21 @@ example shows each part of the connection URI:
3434.. figure:: /includes/figures/dns_seedlist_connection_string_parts.png
3535 :alt: Each part of the connection string
3636
37- In this example, we connect to an Atlas MongoDB deployment that has a
38- DNS SRV record. For more details, see the
37+ In this example, we connect to an Atlas MongoDB deployment that has a
38+ DNS SRV record. For more details, see the
3939:manual:`DNS Seed List Connection Format
40- </reference/connection-string/#dns-seed-list-connection-format>`
41- documentation. This format offers flexibility in deployment and the
40+ </reference/connection-string/#dns-seed-list-connection-format>`
41+ documentation. This format offers flexibility in deployment and the
4242ability to change the servers in rotation without reconfiguring clients.
4343
4444.. note::
4545
4646 To learn how to retrieve your connection string in Atlas, see the
4747 :atlas:`Atlas driver connection guide </driver-connection>`.
4848
49- If you are connecting to an instance or replica set that does not have a
50- DNS SRV address, you must use ``mongodb`` for the protocol, which specifies
51- the :manual:`Standard Connection String Format
49+ If you are connecting to an instance or replica set that does not have a
50+ DNS SRV address, you must use ``mongodb`` for the protocol, which specifies
51+ the :manual:`Standard Connection String Format
5252</reference/connection-string/#std-label-connections-standard-connection-string-format>`.
5353
5454After the protocol, the next part of the connection string contains credentials
@@ -73,7 +73,7 @@ Atlas Connection Example
7373------------------------
7474
7575You must create a client to connect to a MongoDB deployment on Atlas. To create
76- a client, construct an instance of ``MongoClient``, passing in your
76+ a client, construct an instance of ``MongoClient``, passing in your
7777URI and a ``MongoClientOptions`` object.
7878
7979.. tip:: Reuse Your Client
0 commit comments