# MongoDB

**How to connect MongoDB to Churned.io**\
Log in to the Churned platform and go to the “Integrations” section. Click on “New Integration” and select MongoDB from the list.

You will be prompted to enter the following credentials:

**Required Credentials**

* **connectionURI** – The full MongoDB connection string URI.
* **database** – The name of the MongoDB database you want to connect.

**Here’s how you can obtain these credentials:**

1. Log in to your MongoDB Atlas or self-hosted MongoDB instance.
2. For Atlas, go to **Clusters > Connect > Connect Your Application**.
3. Copy the full **MongoDB URI** (e.g., `mongodb+srv://username:password@cluster.mongodb.net`) and replace placeholder values if needed.
4. Identify the name of the database that contains the customer data you want to use.

**Input the Credentials**\
Paste the full connection URI and the database name into the Churned integration form.

Click **Save** to test the connection. Once it’s working, notify the Churned team to begin syncing data.

**Helpful Links**

* [MongoDB Connection Guide](https://www.mongodb.com/docs/manual/reference/connection-string/)
* [MongoDB Atlas Documentation](https://www.mongodb.com/docs/atlas/)
