2
2
title : Obtain your connection string.
3
3
level : 4
4
4
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.
5
17
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>`.
6
26
---
7
27
title : " Open the |vscode-short| Command Palette."
8
28
level : 4
@@ -18,27 +38,27 @@ content: |
18
38
.. tab:: Open from the Activity Bar
19
39
:tabid: mdbview
20
40
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.
23
43
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.
27
47
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.
30
50
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
34
54
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...`.
38
58
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
42
62
43
63
.. tab:: Open from Overview Page
44
64
:tabid: mdboverview
@@ -52,7 +72,7 @@ content: |
52
72
Overview Page`.
53
73
54
74
.. include:: /includes/admonitions/tip-mongodb-command-palette.rst
55
-
75
+
56
76
#. In the *Overview* page, click :guilabel:`Connect` under the
57
77
:guilabel:`Connect with Connection String`.
58
78
0 commit comments