> 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

## 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

![](/files/bKdo3yzED39AfQ5Oyclq) Get started with [MongoDB-focused security templates](https://sola.security/templates/?search=mongodb), built by our expert team.

<figure><img src="/files/4DpqPOft7rGvZybASjYe" 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.sola.security/integrations/data-sources/mongodb-atlas.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
