Skip to content

Commit a8f72dc

Browse files
committed
*
1 parent 2eb8f0f commit a8f72dc

File tree

1 file changed

+37
-17
lines changed

1 file changed

+37
-17
lines changed

source/includes/steps-starting-vsce-connect-with-connection-string.yaml

Lines changed: 37 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,27 @@
22
title: Obtain your connection string.
33
level: 4
44
ref: vsce-enter-connection-info
5+
content: |
6+
7+
You can use either the :manual:`Standard Connection String Format
8+
</reference/connection-string/#connections-standard-connection-string-format>`
9+
or the :manual:`DNS Seedlist Connection Format
10+
</reference/connection-string/#connections-dns-seedlist>`.
11+
12+
- To obtain the connection string for an |service| cluster:
13+
14+
a. Navigate to your |service| :guilabel:`Clusters` view.
15+
16+
#. Click :guilabel:`Connect` for your desired cluster.
517
18+
#. Click :guilabel:`Connect with MongoDB Compass`.
19+
20+
#. Copy the provided connection string.
21+
22+
- To learn how to format the connection string for a deployment
23+
which is not hosted on |service|, see
24+
:manual:`Connection String URI Format
25+
</reference/connection-string>`.
626
---
727
title: "Open the |vscode-short| Command Palette."
828
level: 4
@@ -18,27 +38,27 @@ content: |
1838
.. tab:: Open from the Activity Bar
1939
:tabid: mdbview
2040
21-
a. Select the MongoDB icon from the left side menu bar
22-
in VSCode.
41+
a. Select the MongoDB icon from the left side menu bar
42+
in VSCode.
2343
24-
.. figure:: /images/vsce-mongodb-extension-sidemenu.png
25-
:figwidth: 600px
26-
:alt: Image VSCode side bar menu.
44+
.. figure:: /images/vsce-mongodb-extension-sidemenu.png
45+
:figwidth: 600px
46+
:alt: Image VSCode side bar menu.
2747
28-
#. Expand the :guilabel:`Connections` pane in the left
29-
navigation if it is collapsed.
48+
#. Expand the :guilabel:`Connections` pane in the left
49+
navigation if it is collapsed.
3050
31-
.. figure:: /images/vsce-expand-connections.png
32-
:figwidth: 600px
33-
:alt: Image showing connections pane
51+
.. figure:: /images/vsce-expand-connections.png
52+
:figwidth: 600px
53+
:alt: Image showing connections pane
3454
35-
#. Click the :guilabel:`More Actions` menu (:guilabel:`...`)
36-
and select :guilabel:`Add MongoDB Connection with Connection
37-
String...`.
55+
#. Click the :guilabel:`More Actions` menu (:guilabel:`...`)
56+
and select :guilabel:`Add MongoDB Connection with Connection
57+
String...`.
3858
39-
.. figure:: /images/vsce-mongodb-connection-dots.png
40-
:figwidth: 600px
41-
:alt: Select add connection with connection string
59+
.. figure:: /images/vsce-mongodb-connection-dots.png
60+
:figwidth: 600px
61+
:alt: Select add connection with connection string
4262
4363
.. tab:: Open from Overview Page
4464
:tabid: mdboverview
@@ -52,7 +72,7 @@ content: |
5272
Overview Page`.
5373
5474
.. include:: /includes/admonitions/tip-mongodb-command-palette.rst
55-
75+
5676
#. In the *Overview* page, click :guilabel:`Connect` under the
5777
:guilabel:`Connect with Connection String`.
5878

0 commit comments

Comments
 (0)