Join us Sept 17 at .local NYC! Use code WEB50 to save 50% on tickets. Learn more >
MongoDB Jokes
Docs Menu
Docs Home
/
Atlas
/ / /

Connect from Tableau

This page describes how to connect to either an Atlas federated database instance or an on-premises MongoDB Enterprise database with Tableau (Desktop or Server) using the Tableau custom connector.

Before connecting with Tableau, ensure you have met the following prerequisites:

  • An Atlas federated database instance or a self-managed EA database.

  • Tableau Desktop or Server. For Tableau Server, SCRAM authentication is the only authentication mechanism supported at this time.

The procedure to connect to MongoDB with Tableau comprises the following steps:

1

See Quick Start for detailed instructions on enabling Atlas SQL.

See On-Premise set up for detailed instructions on how to enable the SQL Interface for EA databases.

2
  1. Download the latest MongoDB JDBC Driver version.

    Note

    See Connect with JDBC Driver for more details on the MongoDB JDBC Driver.

  2. Move the downloaded ALL JAR file into the appropriate directory for your operating system:

    Operating System
    Folder Path

    Windows

    C:\Program Files\Tableau\Drivers

    MacOS

    ~/Library/Tableau/Drivers

    Linux

    /opt/tableau/tableau_driver/jdbc

3
  1. Download the Tableau taco file for the latest version.

  2. Move the downloaded taco file into the appropriate directory for your operating system:

    Operating System
    Folder Path

    Windows

    C:\Users\<user>\Documents\My Tableau Repository\Connectors

    MacOS

    ~/Documents/My Tableau Repository/Connectors

    Linux

    /opt/tableau/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.

Perform the following steps to get your MongoDB database connection information:

1
2
3
4
5
6
7

Use this information to connect with Tableau in the next section.

Use your connection string for mongosh.

1
2
3

A connection modal displays.

4

Enter your SQL Interface connection string. See Get Your MongoDB Database Connection Information for detailed instructions in getting your connection string.

5

Back

ODBC

On this page