If you’re already using Amazon DocumentDB to store your data, you’re on the right track. But raw data on its own doesn’t offer much value unless you can actually work with it. That’s where Google Looker Studio comes in. By connecting DocumentDB with Looker Studio, you can instantly turn your live data into interactive dashboards that are easy to understand and even easier to share.
There’s no need to write complex code or wait on someone from engineering. Just log in, connect your data, and start visualizing what matters. Whether it’s customer activity, sales performance or system health, you’ll be able to track it all in real time and make decisions that move your business forward.
Your data holds valuable insights but only if you can actually see them. DocumentDB stores a lot of information, but without the right tools, it stays hidden in collections and JSON objects. Looker Studio helps unlock that value by letting you build live dashboards that update as your data changes.
With this setup, you can transform complex data into clear visuals that anyone on your team can use. Whether it’s marketing tracking campaign performance, sales looking at daily revenue or operations monitoring supply chain metrics, Looker makes it accessible.
You won’t have to rely on exports or manually run reports. Everything happens in real time, giving your team the freedom to explore, monitor and act on data without delays or bottlenecks.
MongoDB BI Connector is a tool that acts as a bridge between MongoDB-style databases (like Amazon DocumentDB) and applications that use SQL to access data. Since DocumentDB stores data in a flexible, JSON-like format, many analytics and reporting tools cannot connect directly. The BI Connector translates this data into a MySQL-compatible format so SQL-based tools like Google Looker Studio can query it easily.
In short, the MongoDB BI Connector acts as the essential link that enables real-time, SQL-based analytics on DocumentDB through tools like Google Looker Studio.
We’ll use Ubuntu 22.04 as our server’s operating system. This is where we installed the BI Connector that acts as a bridge between DocumentDB and Looker Studio.
wget https://info-mongodb-com.s3.amazonaws.com/mongodb-bi/v2/mongodb-bi-linux-x86_64-ubuntu2204-v2.14.14.tgz.sig
wget https://info-mongodb-com.s3.amazonaws.com/mongodb-bi/v2/mongodb-bi-linux-x86_64-ubuntu2204-v2.14.14.tgz
curl -LO https://pgp.mongodb.com/bi-connector.asc
gpg --import bi-connector.asc
gpg --verify mongodb-bi-linux-x86_64-ubuntu2204-v2.14.14.tgz.sig mongodb-bi-linux-x86_64-ubuntu2204-v2.14.14.tgz
tar -xvzf mongodb-bi-linux-x86_64-ubuntu2204-v2.14.14.tgz
cd mongodb-bi-linux-x86_64-ubuntu2204-v2.14.14/bin
sudo install -m755 mongosqld /usr/local/bin/
mongosqld --version
sudo su
mkdir /opt/certs
cd /opt/certs
openssl genrsa -out /opt/certs/mdbprivate.key -aes256 -passout pass:
openssl req -x509 -new -key /opt/certs/mdbprivate.key -days 10000 -out /opt/certs/mdbca.crt -passin pass:
openssl req -new -nodes -newkey rsa:2048 -keyout /opt/certs/bi.key -out /opt/certs/bi.csr
openssl x509 -CA /opt/certs/mdbca.crt -CAkey /opt/certs/mdbprivate.key -CAcreateserial -req -days 10000 -in /opt/certs/bi.csr -out /opt/certs/bi.crt -passin pass:
cat /opt/certs/bi.key /opt/certs/bi.crt > /opt/certs/bi.pem
sudo mkdir -pv /var/log/mongosqld
sudo chown ubuntu:ubuntu /var/log/mongosqld
sudo mkdir -pv /etc/mongosqld
sudo vim /etc/mongosqld/mongosqld.conf
systemLog:
logAppend: false
path: "/var/log/mongosqld/mongosqld.log"
verbosity: 2
security:
enabled: true
mongodb:
net:
uri:
auth:
username:
password:
net:
bindIp: 0.0.0.0
port: 3307
unixDomainSocket:
enabled: false
ssl:
mode: 'allowSSL'
PEMKeyFile: '/opt/certs/bi.pem'
CAFile: '/opt/certs/mdbca.crt'
schema:
sample:
namespaces: "*.*"
processManagement:
service:
name: mongosqld
displayName: mongosqld
description: "BI Connector SQL proxy server"
mongosqld --config /etc/mongosqld/mongosqld.conf
sudo systemctl restart mongosqld
sudo systemctl daemon-reload
sudo systemctl enable mongosqld
sudo systemctl status mongosqld
sudo lsof -iTCP:3307 -sTCP:LISTEN
sudo tail -f /var/log/mongosqld/mongosqld.log
Before implementing to Looker Studio, it’s good practice to test using DBeaver.
3307
, and your DocumentDB credentialsmdbca.crt
as the CA certificateFinal step, let’s integrate your DocumentDB data into Google Looker Studio..
3307
, and credentialsmdbca.crt
fileYou’ll now be able to see your DocumentDB collections (tables) and fields. Drag and drop to create dynamic reports and dashboards in minutes.
Connecting Amazon DocumentDB to Google Looker Studio might feel a bit technical at first, but once it’s in place, the value it delivers is huge. By setting up the MongoDB BI Connector, you’re creating a reliable bridge that turns your live, unstructured data into meaningful visual insights — accessible to your entire team in real time.
It not only eliminates the need for manual data exports but also empowers non-technical users to explore data through interactive dashboards. Your operations, marketing, finance and product teams can all work from the same live source of truth — without writing a single line of code.
We use cookies to enhance your browsing experience, analyze traffic, and serve personalized marketing content. You can accept all cookies or manage your preferences.