Try Studio 3T for Free

How to Connect to Compose

In this tutorial, we’ll show you how to connect to your Compose-hosted MongoDB database with Studio 3T.


  1. Sign up for a Compose account through their free 30-day trial.
  2. Download our MongoDB GUI on your Windows, Mac, or Linux machine.

Looking for other ways to connect? Check out our overview page.

Connect to Compose

  1. Log into your Compose account.
  2. You’ll land on an overview of your Compose-hosted deployments (e.g. MongoDB, Redis, Elasticsearch). Choose your MongoDB deployment.
    Choose your MongoDB deployment on Compose
  3. You’ll then see your Deployment Overview. Scroll down to Connection Info – this is where you’ll find the connection string to enter in Studio 3T.
  4. Copy the connection string. Note that you’ll need to edit certain placeholder texts (e.g. admin, password) but this can be done later.

The Connection Info section on Compose's Deployment Overview page will show you the connection string needed to connect to Studio 3T

Connect to Studio 3T

Use your MongoDB connection string

  1. Open Studio 3T and click on Connect.
  2. Choose New Connection.
  3. Click on From URI – this will open up the Import URI window.
  4. Paste the connection string from Compose and click OK.

Steps on how to connect to your MongoDB database via Studio 3T

Configure connection details

Now it’s time to modify the placeholder texts.

  1. Click on the Authentication tab to modify your username and password.
  2. Enter a name for the connection.
  3. Click Save – this will store your connection details in the Connection Manager.Edit your connection details in the Authentication tab
  4. Click Connect.
    1. Your connection will be saved automatically In Studio 3T

Add a MongoDB user

If you’re logged into Studio 3T as a user with admin rights, then you can add users directly in our MongoDB GUI without having to do it through Compose’s web interface.

  1. Click on the Users tab, or right-click on your target database and click Manage Users.Add MongoDB users to your Compose-hosted database directly in Studio 3T
  2. Follow steps 2-4 on how to add a new user and grant roles.

Add a MongoDB database

Similar to creating a user, you can also add a database directly to your Compose-hosted MongoDB deployment within Studio 3T. Right-click on a server, click Add Database, give it a name, and done.

Adding a database on Studio 3T

Updated on October 6, 2020

Was this article helpful?

Related Articles

Leave a Comment