Skip to main content
Connect MongoDB Atlas so that NOFire AI can read database context. Before you deploy, NOFire AI uses it to answer whether the change puts the database at risk. When something breaks, it uses it to answer whether the database is the cause or a symptom. Over time, it uses it to show which database failures repeat.
The connection is read-only. It reads alerts, events, and performance data. This enriches both proactive risk assessment and reactive root cause analysis with database health context.

Prerequisites

Before connecting MongoDB Atlas to NOFire AI, make sure that you have:
  • An active MongoDB Atlas account
  • Admin access to create API keys

Step 1: Create MongoDB Atlas API keys

Step 2: Add MongoDB Atlas connection to NOFire AI

Understanding MongoDB Atlas data in NOFire AI

What NOFire AI Can Access

With the Project Read Only (GROUP_READ_ONLY) role, NOFire AI can access:

1. Project Alerts

  • Monitor all active alerts in your MongoDB Atlas project
  • Identify threshold breaches and anomalies
  • Track alert history and patterns

2. Database Events

  • Track significant database activities (deployments, configuration changes)
  • Monitor security events
  • Detect status changes in your clusters

3. Slow Query Analysis

  • Identify performance bottlenecks from slow queries
  • Analyze query patterns over the last 24 hours
  • Review query execution statistics

4. Process Information

  • Monitor MongoDB process health across your project
  • Track resource utilization and metrics
  • View cluster metric charts
Note: The Project Read Only role does not grant access to process/audit logs or the Data Explorer. For log access, you would need a higher privilege role like Project Data Access Read Only.

Test the connection

  1. Open the Connections dashboard and make sure that the MongoDB Atlas connection status is READY. A connection that stays in an error state did not authenticate.
  2. Ask NOFire a question that needs database context, for example “are there any active alerts on the production MongoDB cluster?”. An answer that names your clusters confirms the connection works end to end.

Troubleshooting

The public and private keys belong to different API keys, or the private key was truncated when it was copied. Create a new API key and enter both values again.
The API key is missing the Project Observability Viewer permission.