---
schema_version: "1"
id: 1630fbee34f4733e5248aa3efb8210d1f7a303c6dea3c2991e252a9e7021dbb8
title: Set Up a MongoDB Connection (Beta)
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/data-cloud/data-cloud-int/guides/mongodb/c360-a-set-up-mongodb-connection.md
canonical_url: https://developer.salesforce.com/docs/data/data-cloud-int/guide/c360-a-set-up-mongodb-connection.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 8c9e188399ea716ccf7f3206ba038866e8a327d6fecf5eaddafdd0740a0d45c4
products:
  - Data 360 Integration Guide
  - Data 360 Developer Documentation
---
# Set Up a MongoDB Connection (Beta)

Set up the MongoDB connection to start the flow of data into Data 360.

**note:** This feature is a Beta Service. A customer may opt to try a Beta Service in its sole discretion. Any use of the Beta Service is subject to the applicable Beta Services Terms provided at [Agreements and Terms.](https://www.salesforce.com/company/legal/agreements/) If you have questions or feedback about this Beta Service, contact the Data 360 Connector team at [datacloud-connectors-beta@salesforce.com.](mailto:datacloud-connectors-beta@salesforce.com)

| User Permissions Needed |                                                             |
| ----------------------- | ----------------------------------------------------------- |
| To create a connection: | System Admin profile or Data Cloud Architect permission set |

Before you begin:

- Enable the Beta connector through the feature manager. See [Enable Data 360 Features](https://help.salesforce.com/s/articleView?id=data.c360_a_feature_manager.htm&type=5).
- Verify your admin has enabled firewalls on the system you want Data 360 to connect to by including these [IP addresses](https://help.salesforce.com/s/articleView?id=data.c360_a_data_cloud_ip_address_allowlist.htm&type=5) to your allowlists.

1.  In Data Cloud, click **Setup**, and select **Data Cloud Setup**.

2.  Under External Integrations, select **Other Connectors**.

3.  Click **New**.

4.  On the Source tab, select **MongoDB** and click **Next**.

5.  Enter a connection name, connection API name, and provide the authentication and connection details.

6.  For Authentication Details, provide the username and password credentials.

7.  For Connection Details, provide the URL, database, port, AuthDatabase, ReplicaSet and DNSServer.

    1.  Provide the connection URL. For on-premise, enter the Fully Qualified Domain Name (FQDN), otherwise enter the MongoDB Atlas URL.

    2.  For Database, provide the schema within the database server.

    3.  For Port, enter the port that the server is running on. The default is 27017, but it can be changed.

    4.  For AuthDatabase, enter the database where your user data (username/password) is stored.

    5.  For ReplicaSet, enter the FQDN. The FQDN is the replica of the database server.

    6.  Provide the DNSServer. For on-premise, enter the DNS entries for the database server.

    **note:** To learn more about connecting to MongoDB, review the [MongoDB Manual](https://www.mongodb.com/docs/manual/).

8.  To review your configuration, click **Test Connection**.

9.  Click **Save**.

After the connector details are accepted, the connection is created and listed under Connectors. You can now create data streams.

## Next Step

- [Create a MongoDB Data Stream (Beta)](https://developer.salesforce.com/docs/data/data-cloud-int/guide/c360-a-create-mongodb-data-stream.md)
