Skip to content

DOCSP-48590-connect-via-atlas-cli #110

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
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
feedback
  • Loading branch information
amalhotra-mdb committed Apr 4, 2025
commit d9321a73457e234e85a7c04583934b98ad642b97
2 changes: 1 addition & 1 deletion source/includes/steps-open-mongodb-view.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "In |vscode-short|, click the :guilabel:`MongoDB` icon in the :guilabel:`Activity Bar`."
title: In |vscode-short|, click the :guilabel:`MongoDB` icon in the :guilabel:`Activity Bar`.
level: 4
ref: open-mongodb-view
content: |
Expand Down
68 changes: 24 additions & 44 deletions source/includes/steps-starting-vsce-connect-with-atlas-cli.yaml
Original file line number Diff line number Diff line change
@@ -1,57 +1,37 @@
---
title: Connect from the Atlas CLI.
level: 4
ref: vsce-enter-connection-info-cli
content: |
.. procedure::
:style: normal

In your terminal, run ``atlas auth login`` to authenticate with your
Atlas login credentials. To learn more,
see :atlascli:`Connect from the Atlas CLI </connect-atlas-cli/>`.
.. step:: Connect from the Atlas CLI.

---
title: Run the connection command.
level: 4
ref: vsce-run-connect-command
content: |
In your terminal, run ``atlas auth login`` to authenticate with your
Atlas login credentials. To learn more,
see :atlascli:`Connect from the Atlas CLI </connect-atlas-cli/>`.

Run ``atlas deployment connect`` in your terminal.
.. step:: Run the connection command.

.. code-block::
Run ``atlas deployment connect`` in your terminal.

atlas deployment connect
.. code-block::

atlas deployment connect

---
title: Select your deployment.
level: 4
ref: vsce-select-deployment
content: |
.. step:: Select your deployment.

Select the deployment you wish to connect to from your list of deployments.
Select the deployment you wish to connect to from your list of deployments.

.. step:: Select |vsce| as your connection method.


---
title: Select |vsce| as your connection method.
level: 4
ref: vsce-select-connection-method
content: |
The Atlas CLI prompts you to select your connection method. Select
**"vscode - MongoDB for VsCode"**.

The Atlas CLI prompts you to select your connection method. Select
**"vscode - MongoDB for VsCode"**.
.. step:: Open |vscode-short| and click the :guilabel:`MongoDB` icon in the :guilabel:`Activity Bar`.

.. figure:: /images/vsce-mongodb-extension-sidemenu.png
:figwidth: 600px
:alt: Image VSCode side bar menu.

---
title: Open |vscode-short| and click the :guilabel:`MongoDB` icon in the :guilabel:`Activity Bar`.
level: 4
ref: vsce-open-connections
content: |
You can view your connected deployment under :guilabel:`Connections`.

.. figure:: /images/vsce-mongodb-extension-sidemenu.png
:figwidth: 600px
:alt: Image VSCode side bar menu.

You can view your connected deployment under :guilabel:`Connections`.

.. 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
Loading