Install BI Connector on macOS


The MongoDB Connector for BI and associated utilities are compatible only with MongoDB server version 3.2 or greater.

To set up MongoDB Connector for BI with a business intelligence tool such as Tableau, follow the steps on this page.


  • OpenSSL installed on your host.

To install OpenSSL via Homebrew, run the following command:

/usr/bin/ruby -e "$(curl -fsSL"
brew update
brew install openssl

MongoDB User Permissions

If your MongoDB instance uses authentication, your BI Connector instance must also use authentication. The user that connects to MongoDB via the mongosqld program must have permission to read from all the namespaces you wish to sample data from.

For more details about MongoDB user permissions in BI Connector, see User Permissions for Cached Sampling.

Install the BI Connector


Download the MongoDB Connector for BI.

Download the BI Connector from the MongoDB Download Center.


Install the MongoDB Connector for BI.

  1. Extract the downloaded .tar archive.

    tar -xvzf mongodb-bi-osx-x86_64-{version}.tgz
  2. Install the programs within the bin/ directory into a directory listed in your system PATH. If a prior version exists, overwrite the binaries.

    sudo install -m755 bin/mongo* /usr/local/bin/

Launch the BI Connector

You are now ready to launch the BI Connector. The following guide contains detailed information on BI Connector configuration, schema generation, and launch options: