# How to Connect MongoDB to Cloud2Sheets

1. **Get Your Connection String**
   * For MongoDB Atlas:
     * Log in to MongoDB Atlas
     * Click "Connect" on your cluster
     * Choose "Connect your application"
     * Copy the connection string
   * Replace `<password>` with your actual database password
2. **Connect in Cloud2Sheets**
   * Open Cloud2Sheets in Google Sheets
   * Click "Connect" in the sidebar
   * Click the "+" button to add a new connection
   * Select "MongoDB"
   * Enter a name for your connection
   * Paste your connection string
   * Click "Test Connection" and then "Save Connection"


---

# Agent Instructions: 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:

```
GET https://help.cloud2sheets.com/getting-started/how-to-connect-mongodb-to-cloud2sheets.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
