For least-privilege access, create a dedicated service account for Reeflow rather than reusing one tied to other workloads. Google’s service accounts overview covers this in more depth.
Click Create service account and give it a descriptive name (e.g. reeflow-reader)
On the permissions step, grant BigQuery Job User (roles/bigquery.jobUser). Click Done to finish creating the service account.
Navigate to BigQuery, open your analytics dataset, click Sharing then Permissions, and add the service account as BigQuery Data Viewer (roles/bigquery.dataViewer). Repeat for each dataset Reeflow should access.
The equivalent gcloud commands:
# Create the service account
gcloud iam service-accounts create reeflow-reader \
--display-name="Reeflow Reader" \
--project=my-gcp-project
# Grant job user at the project level (required for running queries)
gcloud projects add-iam-policy-binding my-gcp-project \
--member="serviceAccount:reeflow-reader@my-gcp-project.iam.gserviceaccount.com" \
--role="roles/bigquery.jobUser"
# Grant data viewer on your analytics dataset
bq add-iam-policy-binding \
--member="serviceAccount:reeflow-reader@my-gcp-project.iam.gserviceaccount.com" \
--role="roles/bigquery.dataViewer" \
my-gcp-project:analytics
Reeflow authenticates with BigQuery using a service account JSON key. The key is signed by Google and used to mint short-lived OAuth2 access tokens for each request.
In the Service Accounts list, click the service account you just created
Open the Keys tab
Click Add key, then Create new key
Choose JSON and click Create
Save the downloaded JSON file. Google will not show it again
When creating a BigQuery connection in Reeflow, provide the following:
Field
Description
Service account key
The full JSON key downloaded above. Paste it, drop the file, or browse to it. Reeflow stores it encrypted at rest.
Project ID
Your Google Cloud project identifier (e.g. my-gcp-project). Auto-filled from the service account key. Edit this only if you want to bill queries to a different project than the one the key was created for.
Location
The BigQuery multi-region (US, EU) or region (us-central1, europe-west2, etc.) where your datasets live. Queries can only join data within a single location.
Default dataset
Optional. Unqualified table references are resolved against this dataset.
Add a BigQuery project as a data source in Reeflow.
Navigate to Connections in the main navigation, then click New Connection.
Enter a Name for the connection and an optional Description.
Select BigQuery as the connection type.
Paste the Service account key JSON (or drop the file). Reeflow reads the project_id from the key and auto-fills the Project ID field. Edit the project ID only if you want queries billed to a different project.
Once credentials are filled, pick the Location your datasets live in and, optionally, a Default dataset for unqualified table references.
Click Test Connection to verify your credentials are correct.
Click Create Connection to save. The connection appears in your connections list.
Navigate to Connections in the main navigation, then click New Connection.
Enter a Name for the connection and an optional Description.
Select BigQuery as the connection type.
Paste the Service account key JSON (or drop the file). Reeflow reads the project_id from the key and auto-fills the Project ID field. Edit the project ID only if you want queries billed to a different project.
Once credentials are filled, pick the Location your datasets live in and, optionally, a Default dataset for unqualified table references.
Click Test Connection to verify your credentials are correct.
Click Create Connection to save. The connection appears in your connections list.