Skip to content

DOCSP-48717 Update Non-MongoDB Credentials #1070

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 7 commits into from
Apr 11, 2025
Merged
Show file tree
Hide file tree
Changes from 6 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
Binary file added source/includes/figures/atlas_connect.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
16 changes: 7 additions & 9 deletions source/quick-start/create-a-connection-string.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,34 +24,32 @@ To connect to an instance or deployment not hosted on Atlas, see
To retrieve your connection string for the deployment that
you created in the :ref:`previous step <node-quick-start-create-deployment>`,
log into your Atlas account and navigate to the
:guilabel:`Database` section and click the :guilabel:`Connect` button
:guilabel:`Clusters` section and click the :guilabel:`Connect` button
for your new deployment.

.. figure:: /includes/figures/atlas_connection_select_cluster.png
.. figure:: /includes/figures/atlas_connect.png
:alt: The connect button in the clusters section of the Atlas UI

Proceed to the :guilabel:`Connect your application` section and select
"Node.js" from the :guilabel:`Driver` selection menu and the version
Select the :guilabel:`Drivers` option from the :guilabel:`Connect to your application`
section. Once you are in the :guilabel:`Connecting with MongoDB Driver`
menu, select "Node.js" from the :guilabel:`Driver` selection menu and the version
that best matches the version you installed from the :guilabel:`Version`
selection menu.

Select the :guilabel:`Password (SCRAM)` authentication mechanism.

Deselect the :guilabel:`Include full driver code example` to view
the connection string.

.. step:: Copy your Connection String

Click the button on the right of the connection string to copy it to
your clipboard as shown in the following screenshot:

.. figure:: /includes/figures/atlas_connection_copy_string_node.png
.. figure:: /includes/figures/atlas_connection_copy_string.png
:alt: The connection string copy button in the Atlas UI

.. step:: Update the Placeholders

Paste this connection string into a a file in your preferred text editor
and replace the "<username>" and "<password>" placeholders with
and replace the "<db_username>" and "<db_password>" placeholders with
your database user's username and password.

Save this file to a safe location for use in the next step.
Expand Down
Loading