![]() |
VOOZH | about |
CData Connect AI, enables you to access MongoDB data from cloud-based applications like the Salesforce console and mobile applications like the Salesforce Mobile App. In this article, you will use CData Connect AI and Salesforce Connect to access external MongoDB objects alongside standard Salesforce objects.
Accessing and integrating live data from MongoDB has never been easier with CData. Customers rely on CData connectivity to:
MongoDB's flexibility means that it can be used as a transactional, operational, or analytical database. That means CData customers use our solutions to integrate their business data with MongoDB or integrate their MongoDB data with their data warehouse (or both). Customers also leverage our live connectivity options to analyze and report on MongoDB directly from their preferred tools, like Power BI and Tableau.
For more details on MongoDB use case and how CData enhances your MongoDB experience, check out our blog post: The Top 10 Real-World MongoDB Use Cases You Should Know in 2024.
To work with live MongoDB data in Salesforce Connect, we need to connect to MongoDB from Connect AI, provide user access to the connection, and create a Workspace for the MongoDB data.
CData Connect AI uses a straightforward, point-and-click interface to connect to data sources.
Set the Server, Database, User, and Password connection properties to connect to MongoDB. To access MongoDB collections as tables you can use automatic schema discovery or write your own schema definitions. Schemas are defined in .rsd files, which have a simple format. You can also execute free-form queries that are not tied to the schema.
π Configuring a connection (Salesforce is shown)When connecting to Connect AI through the REST API, the OData API, or the Virtual SQL Server, a Personal Access Token (PAT) is used to authenticate the connection to Connect AI. It is best practice to create a separate PAT for each service to maintain granularity of access.
After connecting to MongoDB, create a workspace for your desired table(s).
With the connection, PAT, and Workspace configured, you are ready to connect to MongoDB data from Salesforce Connect.
Follow the steps below to connect to the feed produced by Connect AI.
After you have created the external data source, follow the steps below to create MongoDB external objects that reflect any changes in the data source. You will synchronize the definitions for the MongoDB external objects with the definitions for MongoDB tables.
After adding MongoDB data as an external data source and syncing MongoDB tables as external objects, you can use the external MongoDB objects just as you would standard Salesforce objects.
Create a new tab with a filter list view:
π Viewing external objects from Salesforce (NetSuite is shown)Create reports of external objects:
π Reporting on external objects from Salesforce (NetSuite is shown)Create, update, and delete MongoDB objects from the Salesforce dashboard:
π Editing external objects from Salesforce (NetSuite is shown)At this point, you have a direct, cloud-to-cloud connection to live MongoDB data from Salesforce. For more information on gaining simplified access to data from more than 100 SaaS, Big Data, and NoSQL sources in cloud applications like Salesforce, refer to our Connect AI page.
Learn more about CData Connect AI or sign up for free trial access:
Free Trial