Stacktape

Sign up

Stacktape

Sign up



MongoDb Atlas credentials

Introduction

  • MongoDb Atlas clusters are managed outside of AWS and require you to configure MongoDb Atlas provider.

  • To configure the provider, you need to have organizationId, publicKey and privateKey. This guide will walk you through getting them.

1. Create MongoDb Atlas account

If you don't have a MongoDb Atlas account yet, head over to MongoDb Atlas registration page.

After you create the account, you will be able to "Choose a deployment option to get started.". You can skip this, because Stacktape handles the database creation and deletion for you.

Skip db creation
Skip db creation

2. Add payment method

Next, you need to add a payment method (credit card).

Go to the billing page and click on the ADD CREDIT CARD/PAYPAL button.

Add payment method
Add payment method

3. Create an organization

After you log in, navigate to the Organizations screen from the dropdown menu in top right corner.

Navigate to organizations screen
Navigate to organizations screen


Continue by clicking on the Create new organization button.

Now, you need to:

  1. Configure organization name.
  2. Select MongoDB Atlas as your cloud service.

Continue by clicking on the Next button.

Create organization - step 1
Create organization - step 1

On the following screen, you can optionally add members to your organization.

Continue by clicking on the Create Organization button.

Create organization - step 2
Create organization - step 2

After creating the organization, you will be redirected to the organization space, where you can get your organization id.

4. Get Organization ID

Navigate to organization's Settings.

Create organization - step 3
Create organization - step 3

On the Settings page, you will see your organizationId.

Get organization ID
Get organization ID

5. Get API keys


Navigate to the Access Manager page within the organization space.

Create API Key- step 1
Create API Key- step 1

In the Access Management page, select API Keys tab and continue by clicking on the Create API Key button.

Create API Key- step 2
Create API Key- step 2

On the following screen:

  1. Input an arbitrary description for the key.
  2. Select sufficient permissions for the key (Organization Project Creator or higher).

Continue by clicking on the Next button.

Create API Key- step 3
Create API Key- step 3

On the following screen you will see your public and private keys. Private key will not be available after you leave this page.

The recommended way to store both keys is by using a secret.

Create API Key- step 4
Create API Key- step 4

Need help? Ask a question on Discord or info@stacktape.com.