Skip to content

Commit

Permalink
*
Browse files Browse the repository at this point in the history
  • Loading branch information
ianf-mongodb committed Feb 7, 2024
1 parent 2eb8f0f commit a8f72dc
Showing 1 changed file with 37 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,27 @@
title: Obtain your connection string.
level: 4
ref: vsce-enter-connection-info
content: |
You can use either the :manual:`Standard Connection String Format
</reference/connection-string/#connections-standard-connection-string-format>`
or the :manual:`DNS Seedlist Connection Format
</reference/connection-string/#connections-dns-seedlist>`.
- To obtain the connection string for an |service| cluster:
a. Navigate to your |service| :guilabel:`Clusters` view.
#. Click :guilabel:`Connect` for your desired cluster.
#. Click :guilabel:`Connect with MongoDB Compass`.
#. Copy the provided connection string.
- To learn how to format the connection string for a deployment
which is not hosted on |service|, see
:manual:`Connection String URI Format
</reference/connection-string>`.
---
title: "Open the |vscode-short| Command Palette."
level: 4
Expand All @@ -18,27 +38,27 @@ content: |
.. tab:: Open from the Activity Bar
:tabid: mdbview
a. Select the MongoDB icon from the left side menu bar
in VSCode.
a. Select the MongoDB icon from the left side menu bar
in VSCode.
.. figure:: /images/vsce-mongodb-extension-sidemenu.png
:figwidth: 600px
:alt: Image VSCode side bar menu.
.. figure:: /images/vsce-mongodb-extension-sidemenu.png
:figwidth: 600px
:alt: Image VSCode side bar menu.
#. Expand the :guilabel:`Connections` pane in the left
navigation if it is collapsed.
#. Expand the :guilabel:`Connections` pane in the left
navigation if it is collapsed.
.. figure:: /images/vsce-expand-connections.png
:figwidth: 600px
:alt: Image showing connections pane
.. figure:: /images/vsce-expand-connections.png
:figwidth: 600px
:alt: Image showing connections pane
#. Click the :guilabel:`More Actions` menu (:guilabel:`...`)
and select :guilabel:`Add MongoDB Connection with Connection
String...`.
#. Click the :guilabel:`More Actions` menu (:guilabel:`...`)
and select :guilabel:`Add MongoDB Connection with Connection
String...`.
.. figure:: /images/vsce-mongodb-connection-dots.png
:figwidth: 600px
:alt: Select add connection with connection string
.. figure:: /images/vsce-mongodb-connection-dots.png
:figwidth: 600px
:alt: Select add connection with connection string
.. tab:: Open from Overview Page
:tabid: mdboverview
Expand All @@ -52,7 +72,7 @@ content: |
Overview Page`.
.. include:: /includes/admonitions/tip-mongodb-command-palette.rst
#. In the *Overview* page, click :guilabel:`Connect` under the
:guilabel:`Connect with Connection String`.
Expand Down

0 comments on commit a8f72dc

Please sign in to comment.