# Connect to MongoDB from a BI tool

> How to connect to MongoDB from a BI tool such as Reporting Services or Power BI, which needs an ODBC driver that accepts SQL queries.
>
> Source : https://www.pachadata.com/en/docs/howtos/analytics/mongodb-bi-connector/
> Author : Rudi Bruchez · updated 2026-10-14
> Markdown version of the page, for tools and LLMs. The HTML page is the reference.


You want to use your reporting or dashboard tool — [SQL Server Reporting Services](https://learn.microsoft.com/sql/reporting-services/create-deploy-and-manage-mobile-and-paginated-reports) or Power BI — against MongoDB. How do you go about it?

These tools send SQL queries to data servers that speak SQL. MongoDB, however, is a document-oriented database engine that handles JSON through a proprietary query language, entirely different from SQL. Is there a way round that?

To bridge the gap, MongoDB developed an intermediate layer called the [MongoDB Connector for BI](https://www.mongodb.com/docs/bi-connector/current/).

The connector acts as a go-between. It is a server-side component that answers an ODBC driver and reads SQL queries. It translates each query straight into the MongoDB language, and formats the result as a tabular result set.

You can use it as a cloud service, with MongoDB's cloud offering Atlas, or download and install it on-premises.

The installation is documented [here](https://www.mongodb.com/docs/bi-connector/current/installation/).

The connector is available for several platforms. It is a daemon named `mongosqld`, configured through a `YAML` file. The configuration reference is [here](https://www.mongodb.com/docs/bi-connector/current/reference/mongosqld/).


---

## About the author

Rudi Bruchez, independent SQL Server consultant since 2006: performance audits, tuning, migrations, high availability and training. For an audit or hands-on help on your server: https://www.pachadata.com/en/contact/ (remote audit: https://www.pachadata.com/en/services/remote-sql-server-audit/).
