Data Connections

Connecting a MongoDB Atlas organization

Overview

To onboard your MongoDB Atlas organization to DigiUsher, create a service account in your Atlas organization and provide DigiUsher with its Client ID and Client Secret, along with your Organization ID. The service account grants read-only access to the organization's billing data through the Atlas Administration API. This document describes exactly what access is requested, why it is needed, and what to provide.


Summary of Access Required

ComponentDetails
IdentityAtlas service account (OAuth 2.0 Client ID and Client Secret) — programmatic access only
Access levelRead-only — organization billing information
DataInvoices and billing charges
ScopeSingle Atlas organization
CapabilityWhat It Provides
Billing dataCost analytics, chargeback/showback, budgeting, forecasting, anomaly detection

DigiUsher cannot create, modify, or delete any clusters, databases, projects, or settings in your Atlas organization.


Prerequisites

Information to Gather

ItemHow to FindDigiUsher Field
Organization IDAtlas > Organization Settings > General Settings — the Organization ID fieldOrganization ID
Client IDAtlas > Applications > Service Accounts — the Client ID of the service account you createClient ID
Client SecretShown once when you create the service account (store securely)Client Secret

Roles Required by the Person Performing Setup

Creating a service account requires the Organization Owner role in the Atlas organization.

Network & Email Access (For Regulated Environments)

If your organization restricts outbound internet access or email domains, ensure the following are in place before starting:

  • Domain allowlist: Add *.digiusher.com to your network/firewall allowlist so that users in your organization can access the DigiUsher platform from their browsers.
  • Email allowlist: Add digiusher.com as an approved sender domain in your email security gateway. DigiUsher sends onboarding confirmations, alerts, and reports from @digiusher.com addresses.

Setup

Find your Organization ID

  1. Sign in to MongoDB Atlas and select the organization you want to track.
  2. Open Organization Settings from the left navigation.
  3. On the General Settings tab, locate the Organization ID field and copy the value.

Organization ID on the Atlas Organization Settings page

Create a service account

Create a dedicated service account for DigiUsher, scoped to organization billing only.

  1. In the left navigation under Identity & Access, open Applications.
  2. On the Service Accounts tab, click Add new and choose to create a service account.

Service Accounts on the Atlas Applications page

  1. Enter a recognizable Name, e.g. digiusher-billing, and a Description.
  2. Choose a Client Secret Expiration (for example, 365 days).
  3. Under Organization Permissions, select the Organization Billing Viewer role. This grants read-only access to billing information and nothing more.
  4. Complete the wizard. On the Add Access List step ensure the DigiUsher IP is allowlisted for access to billing data.

Selecting the Organization Billing Viewer role when creating the service account

Save your Client Secret

The Client Secret is shown only once when the service account is created and cannot be retrieved again. Copy and store both the Client ID and Client Secret securely — you will enter them into DigiUsher below.


Connect in DigiUsher

After completing the steps above, enter the following into DigiUsher to complete the connection:

FieldWhere to Find
Connection NameAny label you prefer (e.g. MongoDB Atlas Production)
Organization IDThe Organization ID from General Settings
Client IDThe service account's Client ID from the Applications page
Client SecretThe secret shown once when the service account was created

When you connect, DigiUsher validates the credentials and begins ingesting your organization's billing data. After the initial sync, DigiUsher ingests new cost data daily.


Verification Checklist

  • Organization ID copied from General Settings
  • Service account created with the Organization Billing Viewer role
  • Client ID and Client Secret saved securely
  • Connection details entered in DigiUsher
  • *.digiusher.com allowlisted in your network/firewall (if applicable)
  • digiusher.com allowlisted as an approved sender domain in your email security gateway (if applicable)

Security

What DigiUsher CAN Access (Read-Only)

  • Organization-level invoices and billing charges

What DigiUsher CANNOT Do

  • Create, modify, or delete clusters, databases, projects, or network settings
  • Change organization members, roles, or teams
  • View or modify payment methods or billing configuration
  • Make purchases or any changes to your organization

Credential Rotation

The service account's Client Secret expires on the schedule you chose when creating it. Rotate it before expiry to avoid an interruption in data ingestion:

  1. In Atlas, open the service account under Applications > Service Accounts and generate a new Client Secret.
  2. Update the credential in DigiUsher immediately.
  3. Remove the old secret in Atlas.

Avoid ingestion gaps

Always create the new secret and update it in DigiUsher before removing the old one to avoid an interruption in data ingestion.

Revocation

To revoke access, delete the service account on the Atlas Applications page. This immediately invalidates the credentials and stops all access. DigiUsher will no longer be able to ingest cost data until a new service account is provided.


Troubleshooting

Invalid credentials or insufficient permissions

  • Confirm the Client ID and Client Secret were copied correctly and the secret has not expired.
  • Confirm the service account has the Organization Billing Viewer role.
  • Confirm the Organization ID matches the organization the service account belongs to — a mismatch prevents data from being ingested.
  • Re-create the service account in Atlas and re-enter the credentials in DigiUsher.

No cost data appearing

  • If your organization has had no billable Atlas usage in the period, there will be no cost data to show.

Need Help?

If you encounter any issues not covered above, contact DigiUsher support at support@digiusher.com and the team will help you get set up.

On this page