Skip to content

Commit 7ac1ba8

Browse files
corryrootjeff-allen-mongo
authored andcommitted
(DOCSP-18432): Backport DOCSP-17931 to v5.0. (#5755)
* (DOCSP-17931): Added Atlas connection string note. * (DOCSP-17931): Incorporated Jeff's feedback. * (DOCSP-17931): Incorporated Jeff's feedback. * (DOCSP-17931): Incorporated JD's feedback.
1 parent 1d02085 commit 7ac1ba8

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

source/reference/connection-string.txt

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,25 @@ Examples
122122

123123
.. include:: /includes/fact-pct-encode-uri.rst
124124

125+
- id: atlas
126+
name: Atlas Deployment
127+
content: |
128+
129+
MongoDB Atlas provides the connection strings for
130+
your deployment when you click the :atlas:`Connect
131+
</connect-to-database-deployment/>` button in the Atlas UI.
132+
To register a new Atlas account, start at the
133+
:mdbacct:`MongoDB Atlas registration page
134+
</register?tck=docs_server>`. To learn more, see
135+
:atlas:`Get Started with Atlas </getting-started/>`.
136+
137+
Your Atlas connection string might resemble the following
138+
example:
139+
140+
.. code-block:: bash
141+
142+
mongosh "mongodb+srv://cluster0.example.mongodb.net myFirstDatabase" --username JohnDoe
143+
125144
For more examples, see :ref:`connections-connection-examples`.
126145

127146
Components

0 commit comments

Comments
 (0)