MongoDB Atlas
MongoDB Atlas is a fully-managed cloud database that handles all the complexities of deploying, managing, and healing your deployments on the cloud service provider of your choice (AWS, Azure, or GCP).
Creating a MongoDB Atlas connection
To create the connection you need:
- A public and private Key
Obtaining the credentials
Navigate to the Access Manager page for your organization.
If it is not displayed, select your organization from the Organizations menu in the navigation bar.
Click Access Manager in the sidebar.
OR
Click Access Manager in the navigation bar, then click your organization.
Click Create API Key.
Enter the API Key Information.
- Enter a Description.
- In the Organization Permissions menu, select the new role or roles for the API key.
Click Next.
Copy and save the Public Key.
Copy and save the Private Key.
Add an API Access List Entry.
- Click Add Access list Entry.
- Enter an IP address from which you want Atlas to accept API requests for this API Key. You can click Use Current IP Address if the host you are using to access Atlas will make API requests using this API Key.
- Click Save.
Click Done.
Creating your connection
- In the Blink platform, navigate to the Connections page > Add connection. A New Connection dialog box opens displaying icons of external service providers available.
- Select the MongoDB Atlas icon. A dialog box with name of the connection and connection methods appears.
- (Optional) Edit the name of the connection. At a later stage you cannot edit the name.
- Select Private Key as the method to make the connection.
- Fill in the parameters:
- The public key
- The private key
- (Optional) Click Test Connection to test it.
- Click Create connection. The new connection appears on the Connections page.