Connect from Tableau Desktop without Authentication or TLS/SSL
On this page
Prerequisites
Connecting Tableau to the MongoDB Connector for BI requires the following:
Connecting Tableau to the MongoDB Connector for BI requires the following:
Procedure
Download and install the MongoDB BI Connector ODBC Driver.
Download the MongoDB BI Connector ODBC Driver and run the Windows installer (.msi
).
Create a system DSN.
To securely connect Tableau to the BI Connector, a system DSN configured to use the MongoDB BI Connector ODBC Driver is required. To create a system DSN, follow the steps below:
Start the Microsoft ODBC Data Sources program.
Choose the program version (64-bit or 32-bit) which is appropriate for your system and ODBC driver version.
Select the
System DSN
tab.Click the
Add
button.
Select a MongoDB BI Connector ODBC Driver from the list of available drivers.
Select either the MongoDB ODBC ANSI Driver or the MongoDB ODBC Unicode Driver, then click OK.
Note
The ANSI ODBC driver offers maximum performance but has a limited character set. The Unicode ODBC driver supports a wider character set but may be slightly less performant as a result.
Fill in the necessary form fields.
Click the Details button to expose the lower half of the form.
The following form fields are required:
Field NameDescriptionData Source NameA name of your choice.TCP/IP ServerAddress of the server where yourmongosqld
process is running. If you have enabled BI Connector on MongoDB Atlas, you can find the hostname of the server wheremongosqld
is running in the connection information for your cluster.PortPort number of yourmongosqld
process.DatabaseThe name of the database to connect to, e.g.test
.Click the
Test
button to test the ODBC connection.If the connection is successful, click OK to add the DSN.
Download and install the MongoDB BI Connector ODBC Driver.
Download the MongoDB BI Connector ODBC Driver and run the macOS installer (.dmg
).
Create a system DSN.
To securely connect Tableau to the BI Connector, a system DSN configured to use the MongoDB BI Connector ODBC Driver is required. To create a system DSN, follow the steps below:
Launch ODBC Manager.
Note
ODBC Manager is included with the MongoDB BI Connector ODBC Driver.
Important
The 1.0.16 edition of ODBC Manager included with the MongoDB BI Connector ODBC Driver is not compatible with macOS Catalina or later versions of macOS. If you are on Catalina or a later version of macOS, download and install the latest version (1.0.19) of ODBC manager.
Click System DSN, then click Add.
Select a MongoDB BI Connector ODBC Driver from the list of available drivers.
Select either the MongoDB ANSI ODBC driver or the MongoDB Unicode ODBC driver, then click OK.
Note
The ANSI ODBC driver offers maximum performance but has a limited character set. The Unicode ODBC driver supports a wider character set but may be slightly less performant as a result.
Enter a Data Source Name (DSN).
Optionally enter a Description.
Note
Do not close the setup window. Proceed to the next step.
Add the necessary keywords.
Add a keyword value pair by clicking the Add button.
Modify the Keyword by double-clicking on it, entering the desired keyword, then pressing enter.
Modify the Value by double-clicking on it, entering the desired keyword, then pressing enter.
Using the procedure above, add the following keywords:
KeywordValueSERVERThe hostname or IP address of the MongoDB Connector for BI host.
Important
Use
127.0.0.1
to connect via TCP to localhost. Specifying a value other than an IP address, will attempt to connect via Unix socket.PORTDATABASEThe database to use after connecting.
You must use this keyword when connecting with Microsoft Excel.
For the complete list of ODBC parameters, see Connector/ODBC Connection Parameters.
For example, your user DSN configuration should look similar to the following:
Note
Do not close the setup window. Proceed to the next step.
Click OK to finish creating the DSN.