The Connection Manager in Studio 3T makes it easy to connect to MongoDB, whether it is cloud-hosted or on-premise, or through a direct connection or a replica set.
Connect - Ctrl + N (⌘ + N)
Open Collection Tab - F10
Exit Studio 3T - Alt + X (⌘ + Q)
Create a new connection
- Open Studio 3T.
- Click on the Connect button either in the global toolbar or under the Recent Connections tab. This will open the Connection Manager.
- Click on New Connection. This will open the New Connection window.
Studio 3T supports various settings nested under the Server, Authentication, SSL, SSH Tunnel, and Advanced tabs:
- Replica Set or Sharded Cluster
- Kerberos (GSSAPI) - Enterprise only
- LDAP (PLAIN) - Enterprise only
- Use own Root CA file
- Accept trusted server SSL certificates
- Use Client Certificate
- Allow invalid hostnames
- User Server Name Indication
- Server selection timeout
- Socket timeout
- Connect timeout
There are two main ways to enter connection details: by pasting a MongoDB connection string (recommended) or importing a URI file.
There’s also entering details manually, which isn’t recommended and won’t be covered.
Use a MongoDB URI
Picking up from the steps above:
- Click on the From URI button.
- Paste the connection string.
- Click OK. Studio 3T will then extract the information and automatically fill out the fields in the Server, Authentication, SSL, SSH Tunnel, and Advanced tabs. It will also automatically save the connection in the Connection Manager.
Import a URI file
To import a URI file:
- Click on the Connect button either in the global toolbar or under the Recent Connections tab.
- Then, click on the Import button.
- Click on Open Connection URI File.
- Choose your .uri file and click Import.