MongoDB Atlas
What Plutus imports
Section titled “What Plutus imports”- Atlas invoice line items, including the pending invoice for the current billing cycle
- Also emits a
mongodb.usage.quantityusage metric per Atlas SKU/cluster from the same invoice line items — see Usage Explorer
Connecting
Section titled “Connecting”Method: Programmatic API Key (Public + Private)
- Go to cloud.mongodb.com and open Access Manager > API Keys.
- Click Create API Key, and assign it the Organization Billing Viewer role.
- Copy the Public Key and Private Key. The private key is shown only once — if you lose it, you’ll need to create a new key.
- Under the key’s IP access list, add your current IP address. Atlas rejects API requests from IPs not on this list.
- In Plutus, enter the Public Key, Private Key, and your Organization ID (found on the Organization Settings page).
Each sync also reads the pending (current-cycle) invoice, so charges appear before the invoice closes. Pending items that already appear on a closed invoice are dropped, so nothing is counted twice. If reading the pending invoice fails, the sync still completes with the closed invoices.
A sync that finds no charges shows “Connected, no charges found yet” instead of an error.
The pending-invoice endpoint hasn’t been verified against a live Atlas organization.