How to Integrate Budibase and Databricks Safely

Published
Length
3 min read

Luis Felipe Dias

All posts

Teams pair budibase and databricks to build internal apps on top of analytics data. Budibase acts as the front end while Databricks runs the SQL queries. This setup lets staff view metrics and update tables from simple web screens. Yet linking low-code apps to a data lakehouse creates real security risks. You must lock down credentials, limit table permissions, and track every query run. Good controls keep raw data safe while teams build tools fast. How budibase and databricks share data and

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 databricks to build internal apps on top of analytics data. Budibase acts as the front end while Databricks runs the SQL queries.

This setup lets staff view metrics and update tables from simple web screens. Yet linking low-code apps to a data lakehouse creates real security risks.

You must lock down credentials, limit table permissions, and track every query run. Good controls keep raw data safe while teams build tools fast.

How budibase and databricks share data and permissions

Budibase talks to Databricks through standard SQL database drivers over the network. An app builder enters the workspace host details and warehouse path in Budibase.

Next, the builder adds a secret token or service identity to log in. When a user opens the Budibase app, the app sends queries to Databricks.

Databricks checks the token rules, runs the SQL query, and returns the rows. Budibase then shows those rows in tables, forms, or charts on the screen.

By default, every app user shares the exact same database login identity. Databricks sees the app service account instead of the person clicking the button.

Because of this flow, the shared token holds all power over the data. If that token has broad rights, any app screen can read private tables.

Common risks with shared tokens and broad roles

Many teams use a personal token from an admin to test the link. That habit creates a huge risk when the app moves to production.

An admin token can drop tables, change schemas, or read restricted customer records. If an attacker steals the key from Budibase, they own the whole warehouse.

End-to-End Encryption: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Shared accounts also ruin your audit logs inside the data platform. Every read and write looks like it came from the same bot user.

When a bad query slows down the cluster, you cannot find the person responsible. Security teams also lose track of who looked at sensitive customer rows.

To fix this, never use personal tokens for your low-code apps. Create a dedicated service account for each Budibase app that you run.

Give that service account read rights on only the specific views it needs. Block write commands unless the app must update a specific staging table.

Network rules and data protection for internal apps

Good role scoping is only the first step for a safe integration. You also need to control where traffic comes from and what data leaves.

Set up IP allowlists so Databricks only accepts traffic from your Budibase servers. Keep both systems inside a private network to block outside attacks.

Put short time limits on all tokens and rotate those keys often. Remove unused service accounts as soon as you retire an old internal app.

You should also protect private fields before they reach the app screen. Data masking rewrites matched fields like emails, phone numbers, and card numbers in results.

Masking rules can also rewrite national IDs so raw values stay protected. This keeps support staff productive while reducing the risk of a data leak.

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

No, personal tokens tie app uptime and permissions to one human worker. Use a dedicated service identity with narrow table permissions for each app.

How can I stop a Budibase app from changing production tables?

Grant the app role select rights only on specific views or schemas. Only grant write rights on isolated staging tables when the workflow needs updates.

Why do my Databricks logs show one user for all app queries?

Budibase uses a single stored credential to run queries for all app visitors. You need user-level logging in front of the database to track individuals.

The query runs. The emails stay hidden.