How to Integrate Budibase and BigQuery Safely
Teams pair budibase and bigquery to build fast internal apps over cloud warehouse tables. This setup lets ops teams read and update large datasets without writing custom code. Budibase acts as the front-end app builder for forms, tables, and team dashboards. BigQuery stores the analytics data and runs heavy SQL queries in the cloud. When you link them well, staff can view metrics and trigger workflows with ease. How budibase and bigquery share data and permissions Budibase talks to BigQuery
Your coding agents run with your access.
Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.
Teams pair budibase and bigquery to build fast internal apps over cloud warehouse tables. This setup lets ops teams read and update large datasets without writing custom code.
Budibase acts as the front-end app builder for forms, tables, and team dashboards. BigQuery stores the analytics data and runs heavy SQL queries in the cloud. When you link them well, staff can view metrics and trigger workflows with ease.
How budibase and bigquery share data and permissions
Budibase talks to BigQuery through a Google Cloud service account and project details. You create a service account key in Google Cloud and add it to Budibase. Budibase then uses that key to send SQL queries to the warehouse API.
Each time a user loads a page in the app, Budibase runs a query. BigQuery checks the service account role to see if the query can run. If the role allows it, BigQuery processes the data and returns the rows. Budibase then renders those rows inside tables, charts, or form fields for the user.
Because the app uses one service account, every app user shares that cloud identity. Google Cloud sees all queries coming from the Budibase service account, not individual staff. You must design your cloud permissions with this shared path in mind.
Common failure modes and how to scope roles
The biggest risk in this setup is an overly broad service account role. Many teams grant project owner or full admin rights just to make the app work. If an attacker steals that key, they can read or delete every dataset.
Another common issue is unlogged queries from shared internal apps. When ten people use the same app, BigQuery logs show only one service account. If someone runs a bad update query, you cannot tell which user clicked the button. Teams also leave old service account keys active for years without rotation.
BigQuery IAM + End-to-End Encryption: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
To fix this, create a dedicated service account just for your Budibase app. Grant read-only roles on specific datasets instead of the whole Google Cloud project. If the app only needs three tables, put those tables in a separate dataset. Give the service account permission to read only that single dataset.
You should also set query cost limits in Google Cloud to stop runaway bills. A bad filter in an app table can scan terabytes of data by mistake. Setting a maximum bytes billed limit per query keeps your cloud budget safe. Rotate your service account keys on a regular schedule and delete unused keys.
Protecting sensitive data in internal app workflows
Analytics tables often hold private user records alongside basic business metrics. You might have emails, phone numbers, card numbers, or national IDs in raw tables. Internal support apps rarely need all of those raw fields on screen at once.
Before you expose a table to Budibase, build a clean SQL view in BigQuery. Leave out columns that the app does not need for its daily task. You can also apply data masking so queries rewrite matched fields in results. This step keeps emails and card numbers safe while staff use the app.
Network rules also help lock down how your app talks to the cloud. Run your self-hosted Budibase instance inside a private network with strict outbound rules. Use Google Cloud VPC Service Controls to block data theft from outside networks. When you combine scoped roles, clean views, and network rules, your data stays safe.
Check database and API queries on the wire
Identity tools, roles, and network rules decide who opens a session. Setup alone cannot check what each query does or mask sensitive values in a response once a session starts. When workflows touch Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, or internal HTTP APIs, hoop.dev runs beside those services as an open-source proxy, a sidecar for your Postgres or API. It inspects requests coming in and results going back on the wire.
Your login details and client tools stay as they are while hoop.dev guardrails refuse bad deletes or drops before they run. On responses, hoop.dev data masking rewrites matched sensitive values in memory. Furthermore, hoop.dev holds SOC 2 Type II, is MIT licensed, and writes every query and decision to an audit trail that generates evidence for HIPAA, GDPR, and PCI DSS. See the source on GitHub.
Frequently asked questions
Should I use a personal account or a service account for BigQuery?
Always use a dedicated Google Cloud service account for your Budibase app. Personal accounts break when staff leave the team and often have too much access.
How can I stop Budibase apps from running expensive BigQuery scans?
Set a query quota and a maximum bytes billed limit on the service account. You should also partition and cluster your BigQuery tables on common filter columns.
Can I restrict which rows a Budibase user sees in BigQuery?
Yes, you can pass the logged-in user email into your Budibase query filters. You can also use BigQuery row-level security policies on the underlying dataset tables.
Related guides
In this post