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

Published
Length
3 min read

Luis Felipe Dias

All posts

Integrating backstage and databricks ml lets platform teams manage machine learning work from one portal. Engineers can start model projects, view training runs, and check permissions in one place. Data teams often jump between source code, cloud consoles, and model workspaces all day. A developer portal brings those tasks together on a single screen for every user. Teams spend less time hunting for links and more time building better models. How backstage and databricks ml share identity 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.

Integrating backstage and databricks ml lets platform teams manage machine learning work from one portal. Engineers can start model projects, view training runs, and check permissions in one place.

Data teams often jump between source code, cloud consoles, and model workspaces all day. A developer portal brings those tasks together on a single screen for every user. Teams spend less time hunting for links and more time building better models.

How backstage and databricks ml share identity and data

The developer portal acts as the front door for all engineering and data projects. Users log in to the portal using their main company identity provider account. When a team starts a new model project, the portal runs a software template. That template sets up a code repo and creates a workspace for the team.

Next, the portal reads metadata from the machine learning platform through its standard APIs. It pulls run status, model versions, and owner tags back into the software catalog. Engineers can check which model version runs in production right from the service page.

Data flows between the two systems through scoped API requests on a set schedule. The portal does not store large training sets or raw notebooks on its servers. Instead, it keeps pointers to experiments, registered models, and active compute jobs for teams.

Common failure modes and how to scope roles

Many teams set up this link using one shared admin token for every user. That single token gives the portal full rights across every workspace and data table. If someone steals that token, they can read private training data or delete models. Shared tokens also ruin audit logs because every action shows the same bot name.

Another common mistake is leaving old tokens active for months without any rotation plan. Engineers also run into trouble when network paths allow wide access across all workspaces. Unlogged queries make it hard to see who changed a model stage or dataset.

End-to-End Encryption + Backstage Security Plugins: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

To fix this, teams should tie portal actions to individual user or team roles. Give the catalog reader a read-only service role that only sees model metadata fields. Use separate roles for templates that create new jobs or update workspace permissions.

Scope every role to the specific workspace and catalog schema that a team owns. Set short lifetimes on tokens so old keys stop working after a few hours. Masking rewrites matched fields like emails, phone numbers, card numbers, or national IDs in results.

Keeping catalog state and model stages in sync

A portal only helps if the data it shows matches the real production state. Teams should set up event hooks or frequent polls to update model stage tags. When a data scientist promotes a model, the catalog entry should show that update.

Keep ownership tags identical in both tools so alerts reach the right on-call team. Clear ownership also helps security teams review who can run jobs on production data. When someone leaves a team, updating the central group removes their workspace role too.

Add runtime guardrails and masking beside your databases and APIs

Login rules, role grants, and CI checks govern who connects to your stack. Yet any allowed script, engineer, or AI agent still runs commands with the full scope of its role. For workloads on Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes, SSH, or internal HTTP services, hoop.dev sits beside the service as an open-source proxy, a sidecar for your database or API.

Before a query runs, hoop.dev guardrails check the statement against your rules. An AI Analyzer you configure can score intent or hold risky calls for human review. Next, hoop.dev data masking rewrites sensitive fields in responses, and each verdict is logged per listener. Explore the MIT-licensed project on GitHub.

Frequently asked questions

What metadata should the portal display from the ML workspace?

Show the model name, current stage, last run status, and the owning team name. Avoid pulling sample training rows or secret values into the public catalog view.

How should teams handle credentials for catalog sync jobs?

Use a dedicated service role with read-only rights on model registries and job lists. Rotate its secret key often and block it from reading raw data tables.

Can software templates set up safe defaults for new ML projects?

Yes, templates can assign a team role, set compute limits, and attach logging rules. Every new project starts with the right permissions from day one without manual tickets.

The query runs. The emails stay hidden.