Stacktape
Stacktape


MongoDB Atlas Credentials



MongoDB Atlas clusters are managed outside of AWS and require you to configure a MongoDB Atlas provider. To configure the provider, you need an organizationId, a publicKey, and a privateKey. This guide will walk you through obtaining these credentials.

1. Create a MongoDB Atlas account

If you do not have a MongoDB Atlas account, you can create one here.

After you create your account, you will be prompted to choose a deployment option. You can skip this, as Stacktape will handle the database creation and deletion for you.

Skip db creation

2. Add a payment method

Next, you need to add a payment method. Go to the billing page and click the ADD PAYMENT METHOD button.

Add payment method

3. Create an organization

From the dropdown menu in the top-right corner, navigate to the Organizations screen.

Navigate to organizations screen

Click the Create New Organization button.

Now, you need to:

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

Click the Next button.

Create organization - step 1

On the following screen, you can optionally add members to your organization. Click the Create Organization button.

Create organization - step 2

4. Get your Organization ID

After creating the organization, you will be redirected to the organization's space. Navigate to Settings.

Create organization - step 3

On the Settings page, you will see your organizationId.

Get organization ID

5. Get your API keys

Navigate to the Access Manager page within the organization's space.

Create API Key- step 1

In the Access Management page, select the API Keys tab and click the Create API Key button.

Create API Key- step 2

On the following screen:

  1. Enter a description for the key.
  2. Select Organization Project Creator or higher for the permissions.

Click the Next button.

Create API Key- step 3

On the next screen, you will see your public and private keys. The private key will not be available after you leave this page. We recommend storing both keys in a secret.

Create API Key- step 4

Contents