Skip to content

(DOCSP-17931): Added Atlas connection string note. #5755

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 30, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions source/reference/connection-string.txt
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,25 @@ Examples

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

- id: atlas
name: Atlas Deployment
content: |

MongoDB Atlas provides the connection strings for
your deployment when you click the :atlas:`Connect
</connect-to-database-deployment/>` button in the Atlas UI.
To register a new Atlas account, start at the
:mdbacct:`MongoDB Atlas registration page
</register?tck=docs_server>`. To learn more, see
:atlas:`Get Started with Atlas </getting-started/>`.

Your Atlas connection string might resemble the following
example:

.. code-block:: bash
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest providing a little context for this code-block. Maybe we can precede it with something like:

"Your Atlas connection string may resemble the following: "


mongosh "mongodb+srv://cluster0.example.mongodb.net myFirstDatabase" --username JohnDoe

For more examples, see :ref:`connections-connection-examples`.

Components
Expand Down