Docs Menu

Docs HomeView & Analyze DataMongoDB Compass

Import Saved Connections in Compass

On this page

  • Prerequisite
  • Procedure
  • Select Import saved connections.
  • Under Source File, click Select a file.
  • Select the exported JSON file you want to import.
  • Select the connection names you want to import.
  • Click Import.
  • Results

You can import saved connections in MongoDB Compass. This lets you use saved connections from other workspaces or connections used by other team members.

Before you import saved connections, you must export the connections.

To import saved connections from a JSON file into Compass:

1

On the Connect screen, hover over Saved Connections in the left-side navigation and click the Ellipses (...) button.

2
3
4
5

If your file is encrypted with a password, enter the passphrase under Decryption Password.

6

If the connection name already exists under your saved connections, Compass overwrites the existing connection with the imported connection.

7

After the connections are imported, they appear on the left-side navigation of the Connect screen under Saved Connections.

←  Export Saved Connections in CompassExport Saved Connections with the CLI →