Connect Qlik Analytics to MongoDB and access data

Accessing a MongoDB database can be fast and seamless with an Open Database Connectivity (ODBC) solution. Devart ODBC Driver for MongoDB provides full interoperability and allows you to access live MongoDB data. The driver enables you to retrieve, view, and modify MongoDB data directly within Qlik Analytics.

Step 1. Initiate a connection with an ODBC driver

In Qlik Analytics, navigate to Create and select Script.

Initiate a connection with an ODBC driver

Step 2. Create a connection

Go to Editor and click Create New Connection. Select the required ODBC, create a new data connection, and click Create.

Create a connection

Step 3. Load MongoDB data

In the newly created data connection, click Select Data. Select the table from which you want to view data, and then click Preview.

Load data

How to download, install, and configure Devart ODBC Driver for MongoDB

Download the driver

Click Download in the upper-right corner of this page. Under Download for Windows, click Download next to the EXE or MSI file or—if you're not signed in—click Get Trial, sign up or sign in to your Devart account, and then click Download next to the needed file.

Install the driver

Run the downloaded installer. Click Next and follow the instructions.

Install the driver

Start the trial period or activate the driver

If you don't have an activation key yet, select Trial; if you've already purchased a license, select Activation Key and enter your key. Then, click Next. To complete the driver installation, click Finish.

Start the trial period or activate the driver

Open ODBC Data Source Administrator

Click Start on the taskbar, type ODBC Data Sources, and select a matching result. The ODBC Data Source Administrator opens.

Open ODBC Data Source Administrator

Add a data source (DSN)

Go to the User DSN or System DSN tab and click Add. Select the driver and click Finish.

Add a data source (DSN)

Configure the data source (DSN)

On the General tab, enter a Data Source Name, Description, and other details required to connect to the data source.

Configure the data source (DSN)

Complete the configuration

Click Test Connection to make sure that all details are correct. Then, click OK to save the data source and complete the configuration.

Complete the configuration

Prepare for the installation

Install the iODBC driver manager. It's required for the driver to work properly.

Prepare for the installation

Download the driver

Click Download in the upper-right corner of this page. Under Download for macOS, click Download next to the PKG file or-if you're not signed in-click Get Trial, sign up or sign in to your Devart account, and then click Download next to the file.

Run the driver installer

Run the downloaded installer. In the warning that appears, click Done. Then, in Apple menu > System Settings > Privacy & Security > Security, click Open Anyway. In the next warning, click Open Anyway. If prompted, enter your password.

Run the driver installer

Start the installation

Click Allow to start the installation. In the Install Devart ODBC Driver window, click Continue on the first page and on the next one.

Start the installation

Agree to the software license agreement

On the License page, read the agreement, click Continue, and then click Agree.

Agree to the software license agreement

Start the trial period or activate the driver

If you don't have an activation key yet, select Trial; if you've already purchased a license, select Activation Key and enter your key. Then, click Continue.

Start the trial period or activate the driver

Complete the installation

Click Install. If prompted, enter your password to allow the installation and click Install Software. After the installation finishes, click Close.

Complete the installation

Configure a data source (DSN)

Go to Finder > Applications > iODBC and open iODBC Administrator of the required bitness. On the System DSN tab, select the data source (it was created automatically) and click Configure.

Configure a data source (DSN)

Enter connection details

Specify the required connection details and click OK.

Enter connection details

Complete the configuration

Click Test to make sure that all details are correct. Then, click OK twice to close the message and iODBC Data Source Administrator.

Complete the configuration

Prepare for the installation

Note: This is a flow for Ubuntu 24. For other distributions, the steps may vary.

Make sure you have an ODBC driver manager installed—we recommend using unixODBC. You can install it with sudo apt-get install libodbc2 libodbcinst2 odbcinst unixodbc.

Prepare for the installation

Download the driver

Click Download in the upper-right corner of this page. Under Download for Linux, click Download next to the DEB package of the required bitness or—if you're not signed in—click Get Trial, sign up or sign in to your Devart account, and then click Download next to the package.

Open the installer location

Go to the package location (by default, the package is downloaded to /home/user/Downloads). Right-click the package, select Open With > App Center, and click Open.

Open the installer location

Install the driver

In the App Center window, click Install. In the warning that appears, click Install too. If prompted for authentication, enter the password and click Authenticate.

Install the driver

Configure a data source (DSN)

Open the odbc.ini file in a text editor. We're using nano, so the command is sudo nano /etc/odbc.ini. Locate the DEVART_<data_source> DSN (it was created automatically) and specify the required connection details.

Closing the file, save the changes.

Configure a data source (DSN)

Test the connection

Run isql -v <dsn_name> to test the connection using isql, the ODBC command-line tool. Once connected, you can run SQL queries to retrieve data from MongoDB.

Test the connection

Key Features

Cross-Platform Support

Cross-Platform Support

  • Windows (32/64-bit)
  • macOS
  • Linux
  • Single driver for all platforms
Performance Features

Performance Features

  • Connection pooling
  • Batch updates
  • Prepared statements
Unicode Support

Unicode Support

Full Unicode compliance for all character sets

Security Features

Security Features

  • SSL/TLS encryption
  • Custom certificate support
Connection Speed

Connection Speed

  • Direct TCP/IP connection
  • Optimized data transmission
Simple Deployment

Simple Deployment

  • Single driver installation, no additional components
  • Support for all MongoDB versions

Ready to get started?

Get started with ODBC Drivers at no cost

Get started with ODBC Drivers at no cost

Download a FREE, fully-functional 30-days trial version and elevate your database development and administration today!

Try ODBC Universal Bundle

Try ODBC Universal Bundle

Universal access to data of different ODBC compliant data sources. It supports most of major database servers and cloud services, including Salesforce, MySQL, Oracle, SQL Server and others.

Need a hand?

Need a hand?

If you need any help or have questions about our tools or purchasing options, just get in touch with our team.

Popular Qlik Analytics Integrations Using ODBC Driver