Set Up a MongoDB Connection (Beta)

Set up the MongoDB connection to start the flow of data into Data Cloud.

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. If you have questions or feedback about this Beta Service, contact the Data Cloud Connector team at datacloud-connectors-beta@salesforce.com.

User Permissions Needed 
To create a connection:System Administrator

Before you begin:

  • Enable the Beta connector through the feature manager. See Enable Data Cloud Features.
  • Verify your admin has enabled firewalls on the system you want Data Cloud to connect to by including these IP addresses 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.

    To learn more about connecting to MongoDB, review the MongoDB 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.