---
title: Installing Robo 3T and running a query for MongoDB
slug: install-10x/installing-robo-3t-and-running-a-query-for-mongodb
docTags: 
createdAt: 2025-12-15T08:58:02.190Z
---

**Step 1: Installing Robo 3T**

1. Download Robo 3T version on your respective OS (we are using Mac OS for this article) from https\://robomongo.org/download.

**Step 2: Setting up and Connecting to a single host Linux CentOS system**

1. Click on the two computers at the upper left-hand corner as shown in the screenshot below:

![](https://api.archbee.com/api/optimize/n8uUzk0MM4uC57-zlHNtY/s3aAS0i8ojuHMIIX7luTt_image.png)

2. This will open the connection window then click on create as shown below:

![](https://api.archbee.com/api/optimize/n8uUzk0MM4uC57-zlHNtY/rGCtrnSPuAXM4iIBUYwst_image.png)

3. Click the connection tab:

![](https://api.archbee.com/api/optimize/n8uUzk0MM4uC57-zlHNtY/K5iBtfOKtrttn3TZ81FeV_image.png)

:::Paragraph{listStyleType="disc" indent="2"}
For Type, select Direct Connection.
:::

:::Paragraph{listStyleType="disc" listStart="2" indent="2"}
Enter the Name for the connection.
:::

:::Paragraph{listStyleType="disc" listStart="3" indent="2"}
Enter the Swimlane system IP Address.
:::

:::Paragraph{listStyleType="disc" listStart="4" indent="2"}
Enter the port as 27017.
:::

4. Click on the Authentication tab:

![](https://api.archbee.com/api/optimize/n8uUzk0MM4uC57-zlHNtY/Pir1laA_vzTPbqOeNNef2_image.png)

:::Paragraph{listStyleType="decimal" indent="2"}
Select the Perform Authentication Checkbox.
:::

:::Paragraph{listStyleType="decimal" listStart="2" indent="2"}
Set the Database Name to your DB name. It is "admin" in this example.
:::

:::Paragraph{listStyleType="decimal" listStart="3" indent="2"}
Enter Username and Password for MongoDB.
:::

:::Paragraph{listStyleType="decimal" listStart="4" indent="2"}
Select SCRAM-SHA-1 as the Auth Mechanism.

**Note: You can also manually specify visible databases.**
:::

5. On the SSH Tab, leave everything blank as shown in the screenshot below:

![](https://api.archbee.com/api/optimize/n8uUzk0MM4uC57-zlHNtY/uiQ3NyrAooVKlmwHUZVyv_image.png)

6. Select the SSL Tab as in the screenshot below:

![](https://api.archbee.com/api/optimize/n8uUzk0MM4uC57-zlHNtY/3_opNNAV85wqa_gjEJNXn_image.png)

:::Paragraph{listStyleType="decimal" indent="2"}
Select the Use SSL Protocol CheckBox.
:::

:::Paragraph{listStyleType="decimal" listStart="2" indent="2"}
For the Authentication Method, select the Certificate used to install Swimlane, in this example, it is self-signed.
:::

:::Paragraph{listStyleType="decimal" listStart="3" indent="2"}
Check whether "Use PEM Cert./key" is required and select it. (Not required in this setup).
:::

:::Paragraph{listStyleType="decimal" listStart="4" indent="2"}
Select the checkbox for "Advance Options" and use the drop-down arrow to select "Allow" for Invalid Hostname.
:::

7. Click the Advanced Tab.
   Define a Default Database if required else leave blank as in the screenshot below:

![](https://api.archbee.com/api/optimize/n8uUzk0MM4uC57-zlHNtY/KswIBay2Pc03Z8ZpLKIDA_image.png)

8. Test the connection. If it is successful, save the connection details:

![](https://api.archbee.com/api/optimize/n8uUzk0MM4uC57-zlHNtY/A5GA6FqXcjOdaEupx2rd6_image.png)

9. Select the connection name and click on the Connect button at the bottom as shown in the screenshot:

![](https://api.archbee.com/api/optimize/n8uUzk0MM4uC57-zlHNtY/ksybnpGuzFD-7TZcpiJpt_image.png)

:::Paragraph{listRestartPolite="11" indent="1"}
The connection is successful to Mongo DB as in the screenshot below:
:::

![](https://api.archbee.com/api/optimize/n8uUzk0MM4uC57-zlHNtY/KeHuI7UFsva5JYxcFYocC_image.png)

10. Now you can run a command using the mongo shell by right-clicking on the Swimlane database or the Swimlane-History Database and clicking on "Open Shell". See the screenshot below:

![](https://api.archbee.com/api/optimize/n8uUzk0MM4uC57-zlHNtY/hfoawU7sKNmLBXpDVSQNS_image.png)

11. You can also expand Collections and right-click on a collection and clicking on view document:

![](https://api.archbee.com/api/optimize/n8uUzk0MM4uC57-zlHNtY/EHMcJ1GovVzqZ1SirVmfu_image.png)

:::Paragraph{indent="1"}
**Note:** This article is about how to use Robo 3T to connect to MongoDB with Swimlane installed on a single Linux host. Follow this link to connect Robo 3T to MongoDB from outside Kubernetes.
:::

