> For the complete documentation index, see [llms.txt](https://docs.fastn.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fastn.ai/connectors/catalog/data-database/mongo-db-atlas.md). Agents can also search and read this documentation through its [MCP server](https://docs.fastn.ai/~gitbook/mcp).

# MongoDB Atlas

MongoDB Atlas is a managed MongoDB cloud service. Manage clusters, database users, custom roles, teams, alerts and network peering.

![MongoDB Atlas logo](https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-76f7a68cd13c137617b00f3df17b0abf8916e3bb%2Fmongo-db-atlas.png?alt=media)

|                    |                                                                                    |
| ------------------ | ---------------------------------------------------------------------------------- |
| **Category**       | [Data and databases](https://docs.fastn.ai/connectors/catalog/data-database.md)    |
| **Website**        | [cloud.mongodb.com](https://cloud.mongodb.com)                                     |
| **Authentication** | Username and password                                                              |
| **Slug**           | `mongoDbAtlas`                                                                     |
| **On fastn.ai**    | [Embed MongoDB Atlas in your product](https://fastn.ai/integrations/mongodb-atlas) |

## Setup

Your customers enter their username and password for MongoDB Atlas when they connect. Nothing else needs setting up.

## Connect in Fastn

Your customers connect MongoDB Atlas from your widget. To connect an account yourself:

1. Go to **Build → Integrations → Connectors** and search for **MongoDB Atlas**.
2. Select **Connect** on the MongoDB Atlas card.

   <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-586dd03cdc0c6904263f58928d7a531eae2f85df%2Fconnect-search.png?alt=media" alt="The Connectors page in Fastn with ServiceNow typed in the search box and the ServiceNow card showing a Connect button"><figcaption><p>Search for the connector, then select Connect on its card. ServiceNow is shown here.</p></figcaption></figure>
3. Fill in the fields the form asks for, using the values from [Setup](#setup) above. Then select **Connect**.

   <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-51fb88ef328c525b5b11f8d7094bab11efc333b8%2Fconnect-credentials.png?alt=media" alt="The Connect ServiceNow dialog with an optional account name and the Instance, Username and Password fields, and Cancel and Connect buttons"><figcaption><p>A connect form that asks for credentials. Each connector asks for its own fields.</p></figcaption></figure>
4. Check that the connection appears under **Operate → Connections** with the status `Active`. Your workflows can now use MongoDB Atlas's actions.

For more detail, see [Connect an app](https://docs.fastn.ai/build/integrations/connectors/connect-an-app.md).

## Actions

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Acknowledge Alert</td><td><code>acknowledgeAlert</code></td><td>Acknowledges or unacknowledges one alert in the specified project. Set acknowledgedUntil to a future timestamp to acknowledge, or a past timestamp to unacknowledge.</td></tr><tr><td>Add Team Users</td><td><code>addTeamUsers</code></td><td>Adds one or more existing organization users to the specified team. The body is a JSON array of objects each containing a user id.</td></tr><tr><td>Create Alert Configuration</td><td><code>createAlertConfiguration</code></td><td>Creates one alert configuration for the specified project. Define the event type, optional matchers and threshold, and the notifications to send when the alert triggers.</td></tr><tr><td>Create Cluster</td><td><code>createCluster</code></td><td>Creates one cluster in the specified project. The replicationSpecs define the cloud provider, region, tier, and node count. Provisioning a dedicated tier incurs cost.</td></tr><tr><td>Create Custom Database Role</td><td><code>createCustomDatabaseRole</code></td><td>Creates one custom database role in the specified project. A role grants privileges (actions on resources) and can inherit other roles.</td></tr><tr><td>Create Database User</td><td><code>createDatabaseUser</code></td><td>Creates one database user in the specified project. The user authenticates via SCRAM password, X.509, AWS IAM, or LDAP, and is granted one or more roles.</td></tr><tr><td>Create IP Access List Entries</td><td><code>createProjectIpAccessList</code></td><td>Adds one or more IP access list entries to the specified project. The body is a JSON array of entry objects, each with an ipAddress, cidrBlock, or awsSecurityGroup plus an optional comment.</td></tr><tr><td>Create Network Peering Connection</td><td><code>createNetworkPeeringConnection</code></td><td>Creates one network peering connection in the specified project. The required body fields depend on the cloud provider (AWS, GCP, or AZURE).</td></tr><tr><td>Create Network Peering Container</td><td><code>createNetworkPeeringContainer</code></td><td>Creates one network peering container in the specified project. A container reserves a CIDR block for one cloud provider region.</td></tr><tr><td>Create Organization API Key</td><td><code>createOrganizationApiKey</code></td><td>Creates one programmatic API key for the specified organization with the given roles. The private key is returned only once.</td></tr></tbody></table>

<details>

<summary>View 82 more actions</summary>

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Create Organization Invitation</td><td><code>createOrganizationInvitation</code></td><td>Invites one user to join the specified organization with the given roles.</td></tr><tr><td>Create Project</td><td><code>createProject</code></td><td>Creates one project (group) in the specified organization. Requires the API key to have the Organization Owner or Project Creator role.</td></tr><tr><td>Create Team</td><td><code>createTeam</code></td><td>Creates one team in the specified organization and adds the given users to it.</td></tr><tr><td>Create Third-Party Integration</td><td><code>createThirdPartyIntegration</code></td><td>Configures one third-party service integration for the specified project. The required body fields depend on the integration type - e.g. DATADOG needs apiKey and region, WEBHOOK needs url, SLACK needs apiToken.</td></tr><tr><td>Delete Alert Configuration</td><td><code>deleteAlertConfiguration</code></td><td>Removes one alert configuration from the specified project.</td></tr><tr><td>Delete Cloud Backup Snapshot</td><td><code>deleteReplicaSetBackup</code></td><td>Removes one cloud backup snapshot from one cluster in the specified project.</td></tr><tr><td>Delete Cluster</td><td><code>deleteCluster</code></td><td>Removes one cluster from the specified project. The cluster must have termination protection disabled.</td></tr><tr><td>Delete Custom Database Role</td><td><code>deleteCustomDatabaseRole</code></td><td>Removes one custom database role from the specified project.</td></tr><tr><td>Delete Database User</td><td><code>deleteDatabaseUser</code></td><td>Removes one database user from the specified project.</td></tr><tr><td>Delete IP Access List Entry</td><td><code>deleteProjectIpAccessListEntry</code></td><td>Removes one IP access list entry from the specified project, identified by its IP address or CIDR block.</td></tr><tr><td>Delete Network Peering Connection</td><td><code>deleteNetworkPeeringConnection</code></td><td>Removes one network peering connection from the specified project.</td></tr><tr><td>Delete Organization API Key</td><td><code>deleteOrganizationApiKey</code></td><td>Removes one programmatic API key from the specified organization.</td></tr><tr><td>Delete Organization Invitation</td><td><code>deleteOrganizationInvitation</code></td><td>Cancels one pending invitation to the specified organization.</td></tr><tr><td>Delete Project</td><td><code>deleteProject</code></td><td>Removes one project (group). The project must not contain any clusters.</td></tr><tr><td>Delete Team</td><td><code>deleteTeam</code></td><td>Removes one team from the specified organization.</td></tr><tr><td>Delete Third-Party Integration</td><td><code>deleteThirdPartyIntegration</code></td><td>Removes one third-party service integration from the specified project.</td></tr><tr><td>Get Alert</td><td><code>getAlert</code></td><td>Returns one alert that MongoDB Cloud triggered for the specified project.</td></tr><tr><td>Get Alert Configuration</td><td><code>getAlertConfiguration</code></td><td>Returns one alert configuration from the specified project.</td></tr><tr><td>Get Cloud Backup Schedule</td><td><code>getBackupSchedule</code></td><td>Returns the cloud backup schedule for one cluster in the specified project.</td></tr><tr><td>Get Cloud Backup Snapshot</td><td><code>getReplicaSetBackup</code></td><td>Returns one cloud backup snapshot for one cluster in the specified project.</td></tr><tr><td>Get Cluster</td><td><code>getCluster</code></td><td>Returns the details of one cluster in the specified project, identified by cluster name.</td></tr><tr><td>Get Custom Database Role</td><td><code>getCustomDatabaseRole</code></td><td>Returns one custom database role in the specified project, identified by role name.</td></tr><tr><td>Get Database User</td><td><code>getDatabaseUser</code></td><td>Returns one database user in the specified project, identified by authentication database and username.</td></tr><tr><td>Get IP Access List Entry</td><td><code>getProjectIpAccessListEntry</code></td><td>Returns one IP access list entry from the specified project, identified by its IP address or CIDR block.</td></tr><tr><td>Get Network Peering Connection</td><td><code>getNetworkPeeringConnection</code></td><td>Returns one network peering connection in the specified project.</td></tr><tr><td>Get Organization</td><td><code>getOrganization</code></td><td>Returns a single organization identified by its unique 24-hexadecimal-digit ID.</td></tr><tr><td>Get Organization API Key</td><td><code>getOrganizationApiKey</code></td><td>Returns one programmatic API key in the specified organization.</td></tr><tr><td>Get Organization Event</td><td><code>getOrganizationEvent</code></td><td>Returns one event for the specified organization, identified by its event ID.</td></tr><tr><td>Get Organization Invitation</td><td><code>getOrganizationInvitation</code></td><td>Returns one pending invitation to the specified organization.</td></tr><tr><td>Get Organization Settings</td><td><code>getOrganizationSettings</code></td><td>Returns the settings for the specified organization, including API access list and multi-factor authentication requirements.</td></tr><tr><td>Get Organization User</td><td><code>getOrganizationUser</code></td><td>Returns one MongoDB Cloud user who is a member of the specified organization.</td></tr><tr><td>Get Project</td><td><code>getProject</code></td><td>Returns the details of one project identified by its unique 24-hexadecimal-digit ID.</td></tr><tr><td>Get Project By Name</td><td><code>getProjectByName</code></td><td>Returns the details of one project identified by its human-readable name.</td></tr><tr><td>Get Project Event</td><td><code>getProjectEvent</code></td><td>Returns one event for the specified project, identified by its event ID.</td></tr><tr><td>Get Project Settings</td><td><code>getProjectSettings</code></td><td>Returns the settings for the specified project, such as collection of database statistics and realtime performance panel settings.</td></tr><tr><td>Get Serverless Instance</td><td><code>getServerlessInstance</code></td><td>Returns one serverless instance in the specified project, identified by name.</td></tr><tr><td>Get Team</td><td><code>getTeam</code></td><td>Returns one team in the specified organization, identified by team ID.</td></tr><tr><td>Get Team By Name</td><td><code>getTeamByName</code></td><td>Returns one team in the specified organization, identified by team name.</td></tr><tr><td>Get Third-Party Integration</td><td><code>getThirdPartyIntegration</code></td><td>Returns the configuration of one third-party service integration in the specified project.</td></tr><tr><td>List Alert Configuration Matcher Fields</td><td><code>listAlertConfigMatcherFields</code></td><td>Returns all field names that the matchers array in an alert configuration can use to filter the targets an alert applies to.</td></tr><tr><td>List Alert Configurations</td><td><code>listAlertConfigurations</code></td><td>Returns all alert configurations for the specified project.</td></tr><tr><td>List Alerts</td><td><code>listAlerts</code></td><td>Returns all alerts that MongoDB Cloud triggered for the specified project.</td></tr><tr><td>List Cloud Backup Snapshots</td><td><code>listReplicaSetBackups</code></td><td>Returns all cloud backup snapshots for one cluster (replica set) in the specified project.</td></tr><tr><td>List Clusters</td><td><code>listClusters</code></td><td>Returns the details of all clusters in the specified project.</td></tr><tr><td>List Clusters For All Projects</td><td><code>listClustersForAllProjects</code></td><td>Returns the details of all clusters in all projects to which the authenticated API key has access.</td></tr><tr><td>List Custom Database Roles</td><td><code>listCustomDatabaseRoles</code></td><td>Returns all custom database roles in the specified project.</td></tr><tr><td>List Database Users</td><td><code>listDatabaseUsers</code></td><td>Returns all database users that belong to the specified project.</td></tr><tr><td>List IP Access List Entries</td><td><code>listProjectIpAccessList</code></td><td>Returns all IP access list entries for the specified project. Entries control which IP addresses and CIDR blocks can connect to the project's clusters.</td></tr><tr><td>List Network Peering Connections</td><td><code>listNetworkPeeringConnections</code></td><td>Returns all network peering connections in the specified project for the given cloud provider.</td></tr><tr><td>List Network Peering Containers</td><td><code>listNetworkPeeringContainers</code></td><td>Returns all network peering containers in the specified project across all cloud providers.</td></tr><tr><td>List Organization API Keys</td><td><code>listOrganizationApiKeys</code></td><td>Returns all programmatic API keys that belong to the specified organization.</td></tr><tr><td>List Organization Events</td><td><code>listOrganizationEvents</code></td><td>Returns all events for the specified organization. Supports filtering by event type and date range.</td></tr><tr><td>List Organization Invitations</td><td><code>listOrganizationInvitations</code></td><td>Returns all pending invitations to the specified organization.</td></tr><tr><td>List Organization Projects</td><td><code>listOrganizationProjects</code></td><td>Returns all projects (groups) in the specified organization.</td></tr><tr><td>List Organization Teams</td><td><code>listOrganizationTeams</code></td><td>Returns all teams that belong to the specified organization.</td></tr><tr><td>List Organization Users</td><td><code>listOrganizationUsers</code></td><td>Returns all MongoDB Cloud users who are members of the specified organization.</td></tr><tr><td>List Organizations</td><td><code>listOrganizations</code></td><td>Returns all organizations to which the authenticated API key has access.</td></tr><tr><td>List Project Events</td><td><code>listProjectEvents</code></td><td>Returns all events for the specified project. Supports filtering by event type and date range.</td></tr><tr><td>List Project Processes</td><td><code>listProjectProcesses</code></td><td>Returns the details of all MongoDB processes (mongod/mongos) running in the specified project.</td></tr><tr><td>List Project Users</td><td><code>listProjectUsers</code></td><td>Returns all MongoDB Cloud users who are members of the specified project.</td></tr><tr><td>List Projects</td><td><code>listProjects</code></td><td>Returns all projects (groups) the authenticated API key can access across all organizations.</td></tr><tr><td>List Serverless Instances</td><td><code>listServerlessInstances</code></td><td>Returns all serverless instances in the specified project.</td></tr><tr><td>List Team Users</td><td><code>listTeamUsers</code></td><td>Returns all users who are members of the specified team.</td></tr><tr><td>List Third-Party Integrations</td><td><code>listThirdPartyIntegrations</code></td><td>Returns all active third-party service integrations configured for the specified project (e.g. Datadog, PagerDuty, Slack, Webhook).</td></tr><tr><td>Remove Organization User</td><td><code>removeOrganizationUser</code></td><td>Removes one user from the specified organization. Do not use the connected owner's own user ID.</td></tr><tr><td>Remove Team User</td><td><code>removeTeamUser</code></td><td>Removes one user from the specified team. The user remains a member of the organization.</td></tr><tr><td>Rename Team</td><td><code>renameTeam</code></td><td>Renames one team in the specified organization.</td></tr><tr><td>Return Project Limits</td><td><code>returnProjectLimits</code></td><td>Returns all limits for the specified project, such as the maximum number of clusters and database users.</td></tr><tr><td>Take Cloud Backup Snapshot</td><td><code>takeSnapshot</code></td><td>Takes one on-demand cloud backup snapshot of one cluster in the specified project.</td></tr><tr><td>Toggle Alert Configuration</td><td><code>toggleAlertConfiguration</code></td><td>Enables or disables one alert configuration in the specified project without replacing its other fields.</td></tr><tr><td>Update Alert Configuration</td><td><code>updateAlertConfiguration</code></td><td>Replaces one alert configuration in the specified project. This is a full replacement - include all fields you want to keep.</td></tr><tr><td>Update Cloud Backup Schedule</td><td><code>updateBackupSchedule</code></td><td>Updates the cloud backup schedule for one cluster in the specified project, including retention policies and reference backup time.</td></tr><tr><td>Update Cluster</td><td><code>updateCluster</code></td><td>Updates the configuration of one cluster in the specified project. Only the fields you provide are changed.</td></tr><tr><td>Update Custom Database Role</td><td><code>updateCustomDatabaseRole</code></td><td>Updates one custom database role in the specified project. Only the fields you provide are changed.</td></tr><tr><td>Update Database User</td><td><code>updateDatabaseUser</code></td><td>Updates one database user's password, roles, or scopes in the specified project. Only the fields you provide are changed.</td></tr><tr><td>Update Organization</td><td><code>updateOrganization</code></td><td>Updates one organization's name or default alert settings. Only the fields you provide are changed.</td></tr><tr><td>Update Organization API Key</td><td><code>updateOrganizationApiKey</code></td><td>Updates the description or roles of one programmatic API key in the specified organization.</td></tr><tr><td>Update Organization Invitation</td><td><code>updateOrganizationInvitation</code></td><td>Updates the roles or team memberships of one pending organization invitation.</td></tr><tr><td>Update Organization Settings</td><td><code>updateOrganizationSettings</code></td><td>Updates the settings for the specified organization, such as API access list and multi-factor authentication requirements. Only the fields you provide are changed.</td></tr><tr><td>Update Project</td><td><code>updateProject</code></td><td>Updates the name of one project (group).</td></tr><tr><td>Update Project Settings</td><td><code>updateProjectSettings</code></td><td>Updates the settings for the specified project. Only the fields you provide are changed.</td></tr><tr><td>Update Third-Party Integration</td><td><code>updateThirdPartyIntegration</code></td><td>Replaces the configuration of one third-party service integration in the specified project. Provide the full set of fields for the integration type.</td></tr></tbody></table>

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.fastn.ai/connectors/catalog/data-database/mongo-db-atlas.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
