> ## Documentation Index
> Fetch the complete documentation index at: https://hyperfx.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# MongoDB

> Set up and use the MongoDB integration with Hyper AI

Auth type: API

<Info>
  For general setup steps, permissions, and troubleshooting, start with: [App Integrations](/integrations/overview).
</Info>

## Connect MongoDB

1. Go to Settings → Apps in Hyper
2. Select MongoDB → Connect New
3. Provide your MongoDB connection string (host, port, database, credentials)

## Common capabilities

* Read and write documents in MongoDB collections
* Automate NoSQL database operations and data management
* Generate reports and summaries from your data

## Use in Chat

Enable MongoDB and ask the agent to query collections, insert documents, or aggregate data.

## Use in Agents/Flows

Add MongoDB actions to fetch, update, or manage data and pass variables between steps.

## Troubleshooting

* Connection refused: check networking, allowlist Hyper's egress IPs, and verify connection string
* Permission denied: verify database user roles and privileges
