MONGODB Integration
MONGODB Configuration Process.
Welcome to Pier Cloud!
Pier Cloud is our centralized platform for managing cloud data and services. Our focus is to ensure that access to resources is secure, convenient, and efficient. This document is designed to guide you through setting up MONGODB.
Below, you will find a detailed process that explains each step clearly and concisely.
In the MONGODB environment
To start the configuration, we need to access the MongoDB portal and create an API Key that will be inserted in the Platform configuration. Click on settings (on the gear) as illustrated in the image below.
Here, we need to note down the Organization ID (which will be used in the Platform configuration) and make sure that the Require IP Access List for the Atlas Administration API option is disabled. If this option is enabled, the Platform will not be able to connect. Then, click on Access Manager in the bottom left menu, as shown in the image below.
Here click on API Keys, as illustrated in the image below.
Here click on Create API key.
In this step, in the Description field, enter the name of the API, in the Organization Permissions field, select Organization Billing Viewer and Organization Read Only, as illustrated in the image below.
Here click on Next.
Done! The API Key has been successfully created. Now, copy and paste the key into a notepad to use it later in the Platform configuration.
Here, we have validated the creation of the API Key. With the necessary information noted down, we now need to configure it on the Platform.
On the Pier Cloud Platform
On the Platform home page, click on the user icon located in the upper right corner. Then, select the Settings option, as illustrated in the image below.

In the bottom left menu, select the Secrets option.

In the top right corner click on + Add to create a Secret.

In the Name field, enter a Name to identify the Secret. In Type, select Digest Auth (authentication type in MongoDB). In the User field, enter the Public Key (information obtained on step 10), and in the Password field, add the Private Key (information also obtained on step 10). Finally, click Save to create the Secret, as illustrated in the image below.

The Secret has been successfully created! Now, proceed by clicking on Data Connectors in the bottom left menu, and then click on + Add, in the top right corner, to create the Data connector, as illustrated in the image below.

In the Data Connector field, select MongoDB Atlas. In "Data Connector Identifier Name", enter a name to identify the data connector. In the "Select the secret for this data connector" field, choose the Secret created in the previous step. In the "Organization ID" field, enter the ID obtained in slide 5. Finally, click Save to create the Data Connector, as illustrated in the image below.

That's it! The Data Connector has been successfully created and the MongoDB integration has been successfully configured.

Last updated