> For the complete documentation index, see [llms.txt](https://docs.sola.security/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sola.security/integrations/data-sources/mongodb-atlas.md).

# MongoDB Atlas

Connect Sola and MongoDB Atlas to get security insights

## Overview

The MongoDB Atlas integration connects data from your MongoDB Atlas account to your Sola workspace, making it easy to search and find answers to your specific use cases.

The MongoDB Atlas integration gives you a complete view of your MongoDB environment, allowing you to monitor and analyze MongoDB security posture and potential risks.

With the MongoDB Atlas integration, you can:

* Gain insights into MongoDB user roles, access permissions, and authentication methods.
* Monitor network exposure and cluster security configurations.
* Track user activity trends.
* Ensure security best practices for your MongoDB environment.

{% hint style="warning" %}
**Your data can only be retrieved, never modified.**

Once connected, your data is securely stored, and access is restricted to retrieving configurations and metadata only. Authentication methods ensure secure delegation of permissions while maintaining data integrity.
{% endhint %}

## Set up MongoDB Atlas data source integration with Sola

{% columns %}
{% column width="66.66666666666666%" %}
Go to ***Integrations*** > [***Data Sources***](https://app.sola.security/integrations/data-sources) > click ***New data source*** > select ***MongoDB Atlas***.

*The Sola wizard will take you through the steps.*
{% endcolumn %}

{% column width="33.33333333333334%" %} <a href="https://app.sola.security/integrations/data-sources?integration=mongodbatlas" class="button primary">Set up MongoDB -></a>
{% endcolumn %}
{% endcolumns %}

### Connect MongoDB Atlas to Sola

To connect MongoDB Atlas, you’ll need a MongoDB Atlas account with organization owner access to Atlas.

{% tabs %}
{% tab title="API Key" %}
This method uses an [API key](https://www.mongodb.com/docs/atlas/configure-api-access/#grant-programmatic-access-to-an-organization) to securely grant Sola read-only access to your MongoDB Atlas services and resources.
{% endtab %}
{% endtabs %}

## Explore MongoDB templates

![](https://633303660-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMkiDTkdEK7CdyQX8KZZH%2Fuploads%2FXMRpFbpx9LSRblEJ68Mo%2FApp-Gallery-icon.svg?alt=media\&token=a7a5e8e8-f1fc-4dab-b430-5e5c0ad78e66) Get started with [MongoDB-focused security templates](https://sola.security/templates/?search=mongodb), built by our expert team.

<figure><img src="https://633303660-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMkiDTkdEK7CdyQX8KZZH%2Fuploads%2FiibFhHt9Rz3jpDEKZIEt%2FOkta_Integration_cube.svg?alt=media&amp;token=c8e9fac6-2563-4cce-bab4-b98ea4fdfc38" alt="MongoDB Atlas"><figcaption></figcaption></figure>


---

# 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.sola.security/integrations/data-sources/mongodb-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.
