Navigation

Favorite Connections

MongoDB Compass allows you to save MongoDB connection configurations to easily reconnect to the same MongoDB deployment using the same specifications.

Save a Favorite Connection

1

Configure your Connect To Host form with a connection you would like to save.

2

Type a Favorite Name into the Favorite Name input.

MongoDB Compass allows you to reuse the same Favorite Name for multiple connections, but this is not recommended practice as it can become difficult to maintain connections with the same name.

3

Click Create Favorite.

Image showing Favorite Connection in Compass

Edit a Favorite Connection

1

Click the desired connection under Favorites to the left of the Connect to Host form.

Image showing selecting Favorite Connection in Compass
2

Make the desired changes to the connection configuration within the form.

3

Click Save Favorite at the bottom of the form.

Delete a Favorite Connection

1

Click the desired connection under Favorites to the left of the Connect to Host form.

Image showing selecting Favorite Connection in Compass
2

Click Delete Favorite at the bottom of the form.

MongoDB Compass removes the connection from the Favorites list and returns the Connect to Host form to the default state.