Lucen

BI tools (Data Studio, Power BI, Tableau)

On this page
  1. Overview
  2. Blumie-managed warehouse: the portal flow
  3. Your own BigQuery project: grant access yourself
  4. Keeping the credential safe

Connect Power BI, Tableau, Data Studio or another BI tool directly to your gold data, the clean analysis-ready tables Lucen builds from your sources. Where the access lives depends on who owns your BigQuery warehouse.

Overview

Every Lucen organization has a gold layer: one dataset with one table per business question your models answer. BI tools connect to it read-only. There are two cases:

  • Blumie-managed warehouse. Your gold data lives in a project Blumie runs. You do not need a Google Cloud project or any Google identity: Blumie provisions a dedicated read-only service account for your organization and you download its key once from the Lucen portal.
  • Your own BigQuery project. The datasets live in your GCP project, which you own and pay Google for directly. You grant access to your BI tool yourself, in your own project, and Blumie never touches your IAM.

Not sure which one you have? Ask your organization owner, or open the Lucen portal: if Settings > Integrations shows BI tool rows with connection details, your warehouse is Blumie-managed.

Blumie-managed warehouse: the portal flow

  1. Open Settings > Integrations in the portal. The directory has Messaging (Slack, Microsoft Teams, WhatsApp) and BI tools (Data Studio, Power BI, Tableau).
  2. If BI access is not enabled yet, open any BI tool row. The panel shows "No BI connection yet". Use Request access: it opens a ticket to Blumie and we enable it for your organization. This is a one-time setup we perform, never self-service, so your data stays governed.
  3. Once enabled, open the BI tool you use: - Power BI or Tableau share one service account key. The screen shows the data project, dataset, service account email, billing project (when set), and your gold tables under Your tables. Every value has a copy button; a table's copy button copies its full name. - Data Studio uses work email and a service agent, not a key file. The screen shows the same connection details and tables, then the Data Studio member form.
  4. As an organization owner on Power BI or Tableau, use Download key. Read the warning: the key is a credential and it is shown only once. Copy it or download it as a .json file, then store it where your team keeps credentials. The same key works for both Power BI and Tableau; generating a new key replaces it for both.

If the key was already revealed, the button becomes Generate new key. The current key stops working the moment a new one is generated, so reconnect your dashboards right after rotating. Ask an organization owner if you do not see the key actions; members can view the connection details but cannot download or rotate the key.

Good to know

  • The key can read exactly one dataset: your gold data. It cannot see raw sources, other layers or other organizations.
  • Queries run against the billing project shown on the page. Today it is the same as the data project. If it ever changes, we will let you know and you only update this field in your BI tool.
  • The dataset picker in some BI tools may look empty. Type the dataset name exactly as shown on the page.

Data Studio

Data Studio cannot use a key file. Its data sources use the same read-only service account through Data Studio's own service account credentials. An organization owner sets it up once, then adds people by work email, one at a time:

  1. Open lookerstudio.google.com/serviceAgentHelp while signed in with your work account and copy the service agent email shown there.
  2. In the portal, open Settings > Integrations, choose Data Studio in the BI tools section, paste the service agent email and save.
  3. Add each person who may build data sources by their work email. Access is per person, never a whole company domain.

People you add get no data access of their own: the data is read through the service account. Queries run as that service account and bill to the Blumie billing project shown in the panel, which holds no datasets of its own.

To build a data source:

  1. In Data Studio, signed in with your work email, create a data source with the BigQuery connector and choose Custom query.
  2. Set the billing project to the one shown in the portal. Search for it if it is not at the top of the list.
  3. Enter the query SELECT 1 and connect.
  4. In the data source toolbar, open Data credentials, choose Service account credentials, enter the service account email shown in the portal and click Update.
  5. Edit the connection, keep the billing project, replace the query with one that reads your tables, as in the example below, and reconnect.
sql
select * from `DATA_PROJECT.DATASET.TABLE_NAME` limit 100

Allow a few minutes after an owner adds you before the first connection. A "no dataset access" error usually means the billing project is not the one shown in the portal, or the query reads a dataset other than yours.

Personal accounts (Gmail and similar) cannot build data sources, but they can view reports you share with them. Everyone you share a report with sees the data through the service account, so share reports only with people allowed to see it. An owner can remove a person, or remove Data Studio access entirely, from the same panel at any time; existing data sources stop working immediately.

If your company prefers to pay for its own queries, use your own Google Cloud project as billing project and grant the service account BigQuery Job User there. Ask Blumie and we will help you set it up.

Your own BigQuery project: grant access yourself

Your gold tables live in a dataset named {your_slug}_gold in your own project. Grant a person or a service account read access to that dataset only, plus permission to run queries:

bash
# 1. Read access on the gold dataset only (dataset-level IAM)
bq add-iam-policy-binding \
  --member="user:analyst@yourcompany.com" \
  --role="roles/bigquery.dataViewer" \
  YOUR_PROJECT_ID:your_slug_gold

# 2. Permission to run query jobs in your project
gcloud projects add-iam-policy-binding YOUR_PROJECT_ID \
  --member="user:analyst@yourcompany.com" \
  --role="roles/bigquery.jobUser"

Use a service account and its JSON key if your BI tool connects with a key (the common path for Power BI), or a user account if your tool signs in with Google OAuth. Avoid roles/bigquery.user and roles/bigquery.dataViewer at project level: they expose dataset names and metadata beyond your gold data.

Keeping the credential safe

  • Treat the key like a password. Anyone holding it can read your gold data.
  • Do not commit it to a repository or paste it into chat.
  • If a key leaks or a team member leaves, generate a new key from the portal; the old one stops working immediately.
  • Blumie sweeps unused keys daily and alerts if anything unexpected is found.