The Simplest Way to Make Databricks ML and Port Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

Pairing databricks ml and port lets teams track machine learning models inside one central developer catalog. Engineers trigger model training jobs from the portal and view live run status in one place. Machine learning work often lives in isolated notebooks and separate workspaces. Product and platform teams struggle to see which model version runs in production. Linking your data workspace with your internal developer portal fixes this visibility gap. Teams get one place to check model health

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.

Pairing databricks ml and port lets teams track machine learning models inside one central developer catalog. Engineers trigger model training jobs from the portal and view live run status in one place.

Machine learning work often lives in isolated notebooks and separate workspaces. Product and platform teams struggle to see which model version runs in production. Linking your data workspace with your internal developer portal fixes this visibility gap. Teams get one place to check model health, ownership, and deployment state.

How databricks ml and port share data and permissions

The two tools talk through standard web requests and event webhooks. Your developer portal stores blueprints that define what a model or job looks like. When a training run finishes, the workspace sends a status update to the portal catalog.

To send data back and forth, both systems need valid login keys. Teams usually create a dedicated service identity inside the data workspace. This identity holds permissions to read job metadata, model versions, and cluster states. The portal uses this identity to pull updates or trigger new workflow runs.

Flowing data in the other direction works the same way. An engineer clicks a self-service action button inside the developer portal. The portal checks who clicked the button and sends a request to the workspace. The workspace starts the job and sends progress logs back to the catalog page.

Common failure modes with shared tokens and broad roles

Many teams take shortcuts when they first link these two platforms. A common mistake is using a personal admin token to connect the systems. If that engineer leaves the company, the integration breaks right away. Worse, a personal token often has full read and write power across all data.

Shared service accounts with broad roles create another big risk. If the portal key can read raw training tables, any bad request might expose sensitive records. Training sets often hold emails, phone numbers, card numbers, or national IDs. Portal actions only need metadata about models, not the raw rows inside tables.

End-to-End Encryption + ML Engineer Infrastructure Access: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Unlogged queries also cause trouble during security audits. When every portal action runs under one shared identity, workspace logs lose track of who asked for the run. Security teams cannot tell which developer triggered a heavy compute job or promoted a model. You should map portal users to workspace roles and limit network paths between both tools.

Scoping roles and network paths for safer model ops

Start by creating a dedicated service principal for your catalog sync. Give this role read-only rights on model registry metadata and job status endpoints. Never grant this role permission to query raw storage buckets or production tables. Keep metadata paths separate from raw data paths.

Next, separate the permissions for reading state from the permissions for running jobs. Use one restricted identity to pull catalog updates on a timer. Use a different, tightly scoped role for self-service actions that start clusters or deploy models. Require approval checks before any action promotes a model to production.

Finally, lock down network traffic between the portal and your workspace. Allow requests only from known portal IP addresses. Set short expiration times on all client secrets and rotate keys on a set schedule. Check your workspace audit logs each week to spot strange API calls early.

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

What data should sync between the ML workspace and the portal?

Sync only high-level metadata like model names, version numbers, run statuses, and owner tags. Keep raw training data, feature tables, and secret keys inside the data workspace.

How do we stop portal users from running costly compute jobs?

Link portal actions to fixed job templates instead of free-form cluster creation. Set strict cluster size limits on the workspace role and require manager approval for large runs.

How often should we rotate the keys linking both tools?

Rotate service keys at least once every thirty to ninety days. Short-lived tokens reduce the blast radius if a key ever leaks in a log file.

The query runs. The emails stay hidden.