Connect from Tableau
On this page
This page describes how to connect to Atlas Data Federation with Tableau using the Tableau custom connector.
Prerequisites
A federated database instance that is mapped to one or more data stores.
Note
If some or all of your data comes from an Atlas cluster, you must use MongoDB version 5.0 or greater for that cluster to take advantage of Atlas SQL.
Tableau Desktop or Server.
Procedure
The following procedure guides you through installing the necessary tools, finding your federated database instance connection information, and connecting to your federated database instance with Tableau.
Download the JDBC Driver and Tableau Connector
Download the MongoDB JDBC Driver.
Download the latest MongoDB JDBC Driver version if you haven't already.
Move the downloaded
.jar
file into the appropriate directory for your operating system:Operating SystemFolder PathWindows
C:\Program Files\Tableau\Drivers
MacOS
~/Library/Tableau/Drivers
Download and install the Tableau custom connector.
Download the taco file for the latest version.
Move the downloaded taco file into the appropriate directory for your operating system:
Operating SystemFolder PathWindows
C:\Users\<user>\Documents\My Tableau Repository\Connectors
MacOS
~/Documents/My Tableau Repository/Connectors
Important
Updating Your Connector
If you download a new version of the Tableau custom connector, delete the old Tableau custom connector file from your Connectors directory to ensure that Tableau uses the latest version.
Get Your Federated Database Instance Connection Information
In Atlas, go to your federated database instance for your project.
If it's not already displayed, select the organization that contains your project from the Organizations menu in the navigation bar.
If it's not already displayed, select your project from the Projects menu in the navigation bar.
In the sidebar, click Data Federation under the Services heading.
The Data Federation page displays.
Connect with Tableau
Enter the connection information that you copied from Atlas Data Federation.
Enter the following information:
MongoDB URI | Your connection string from step 5 of Get Your Federated Database Instance Connection Information. |
Database | Your virtual database name. |
Authentication | Your preferred method of authentication. You can select one of the following from the dropdown:
|