![]() |
VOOZH | about |
Tableau Cloud is an analytics platform fully hosted in the cloud. When paired with CData Connect AI, you get instant, cloud-to-cloud access to MongoDB data for visualizations, dashboards, and more. This article shows how to connect to MongoDB and build visualizations from MongoDB data in Tableau Cloud.
CData Connect AI provides a pure cloud-to-cloud interface for MongoDB, allowing you to easily build visualizations from live MongoDB data in Tableau Cloud without installing connectors or publishing worksheets and data sources from Tableau Desktop. As you build visualizations, Tableau Cloud generates SQL queries to gather data. Using optimized data processing out of the box, CData Connect AI pushes all supported SQL operations (filters, JOINs, etc) directly to MongoDB, leveraging server-side processing to quickly return MongoDB data.
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 MongoDB data from Tableau Cloud, 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 Tableau Cloud.
The steps below outline creating a new data source in Tableau Cloud based on the virtual MongoDB database in Connect AI and building a simple visualization from the data.
At this point, you have a direct, cloud-to-cloud connection to live MongoDB data from your Tableau Cloud workbook. You can create new visualizations, build dashboards, and more, with no need to publish data sources and workbooks from Tableau Desktop. For more information on gaining live access to data from more than 100 SaaS, Big Data, and NoSQL sources from cloud applications like Tableau Cloud, refer to our Connect AI page.
Learn more about CData Connect AI or sign up for free trial access:
Free Trial