# Connect MongoDB (/connect/connect-tools-to-ai-teammates/connect-mongodb)



## What is MongoDB access? [#what-is-mongodb-access]

MongoDB is different from most tools in this section: instead of an OAuth sign-in, a teammate connects to one specific database using a **connection string** you provide. Whatever that connection string can do is what the teammate can do, since access follows the permissions of the database user embedded in it. In practice, with a standard read-write connection string, a teammate can:

* Query documents and collections in that database
* Insert, update, and delete documents in that database

<LivePreview component="AssistantIntegrations" />

## How to Connect MongoDB [#how-to-connect-mongodb]

Open the teammate's Tools section and click **Connect** on MongoDB. Instead of signing in through a browser, paste a MongoDB connection string with credentials embedded, for example `mongodb+srv://user:pass@cluster.example.mongodb.net/`. See [Connect tools](/connect/connect-tools-to-ai-teammates) for the full walkthrough of opening Tools and managing a connection afterward.

<Callout type="warn">
  A connection string embeds database credentials. Treat it like any other secret — consider storing it in the [Vault](/connect/vault) instead of pasting it directly if your workflow supports that.
</Callout>

<Cards>
  <Card title="Connect tools overview" href="/connect/connect-tools-to-ai-teammates" description="How to open Tools, connect any provider, and troubleshoot a failed connection." />

  <Card title="Where are my API keys and credentials stored?" href="/connect/vault" description="Store tokens, passwords, and keys in the Vault and control who can access them." />
</Cards>
