In this tutorial, we’ll show you how to connect to your cloud-hosted MongoDB database with Studio 3T.
Have Your MongoDB Connection String Ready
- Download Studio 3T here, in case you haven’t yet.
- Create a free sandbox database instance with a MongoDB cloud hosting provider, for example with Compose, ObjectRocket, or mLab.
MongoDB hosters will give you a connection string URI that looks like this:
<user> and <password> placeholders are usually preset with your authentication details.
Other MongoDB cloud hosting platforms might list connection string URI details differently, but Studio 3T allows users to easily preserve additional details like SSH and SSL information in a MongoDB URI, making sharing connection details within teams much easier.
Connect to a MongoDB Database
- With your MongoDB connection string URI ready, click on the “Connect” button in the toolbar. This will open the Connection Manager where you can see and edit all your previously created connections.
- Click on “New Connection” to open a dialog to create a new connection with your connection data.
- Here, you can name your connection, then click on “From URI”:
- Simply paste your URI into text box (or alternatively, import a URI file).
- Confirm your URI and Studio 3T will extract all connection information and fill out all required fields. You can verify this in the various tabs such as “Server”, “Authentication”, “SSL”, etc.
- Once you have saved your connection settings, select your newly created connection and connect to it. Et voilà – you’re ready to edit your data directly in Studio 3T.
Now that you’re connected to a MongoDB database, play around Studio 3T and you’ll realize it’s much more than a MongoDB GUI.
With Studio 3T you can edit your data just by double-clicking a field, view your MongoDB data in three ways, and easily build even the most complex MongoDB queries by just dragging and dropping fields. Studio 3T offers loads of features that make working with your MongoDB data a total breeze 🙂
Editor’s Note: This post was originally published in October 2014 and has been updated for accuracy.