Databricks

Databricks features in use

Inventory of Databricks capabilities used by Fabric GTM Brain and the role each one plays.

This page documents the optional customer-managed Databricks target. The hosted GTM Brain product runs on Cloudflare with PostgreSQL and Temporal; operators do not need Databricks to connect an agent or run the standard product journey.

When an organization selects this optional target, GTM Brain uses Databricks as an application, operational data, AI, analytics, governance, and observability platform—not merely as a model endpoint.

Feature inventory

Databricks featureHow GTM Brain uses itWhy it matters
Databricks AppsHosts Next.js, the Hono/oRPC API, Better Auth, and Temporal workerManaged application compute, OAuth boundary, resource bindings, deployment history
Asset Bundles / direct engineDeclares App, Lakebase, UC, jobs, Genie, permissions, and targetsRepeatable infrastructure and releases from one resource graph
Lakebase AutoscalingPostgreSQL 17 operational store for product and GTM stateLow-latency transactions with Databricks identity and UC integration
Lakebase branches/endpointsProtected production branch, 0.5–4 CU endpoint, two readable secondariesProduction isolation, autoscaling, and HA
Endpoint-scoped OAuth credentialsApp token is exchanged for short-lived database credentialsNo static database password in code or configuration
Lakebase Unity Catalog catalogExposes operational gtm tables to Databricks governance and jobsGoverned projection without a bespoke extraction service
Unity Catalog external locationsADLS Gen2 location backed by an Azure Databricks Access ConnectorCentralized storage identity and least-privilege access
Managed UC catalog/schemagtm_brain_analytics.gtm holds events, evaluations, funnel, telemetry, tracesDiscoverability, lineage, grants, and shared analytics
SQL warehouse + Statements APIBootstrap, readiness checks, live queries, gateway usage and analyticsServerless SQL plane usable by the App, operators, and CI
Serverless Jobs environment v2Hourly Lakebase-to-Delta event projectionScheduled, idempotent analytics without cluster management
AI Gateway v2Native Anthropic protocol for judge, drafter, classifier, and chat modelsWorkspace OAuth, centralized model access, usage visibility, governance
Unity Catalog model servicesDiscovers system.ai.* Claude, GPT, Gemini, and other servicesWorkspace-governed availability instead of hard-coded endpoints
Model Provider ServicesOptional governed Anthropic or Amazon Bedrock routeBring-your-own provider behind a UC securable and common contract
MLflow experiments and tracingUC-backed experiment plus OpenTelemetry-compatible trace tablesPrompt/model observability and future outcome evaluation
App telemetry exportLogs, metrics, and spans flow into UC tablesApplication observability can be queried and governed like data
GenieNatural-language analytics over event, funnel, and evaluation tablesGoverned business questions without SQL
Fabric Harness on native SDKsRuns bounded reviewer/generator agents with Databricks model, SQL, and retrieval toolsAdds typed outputs, budgets, tenant grants, durable runs, artifact revisions, and approval routing without replacing Databricks APIs
Secret scopes + App secret resourcesBetter Auth, Temporal, credential encryption, webhook secretsSecrets are referenced by name and injected only at runtime
App service principal and grantsSeparate identity receives only required resource accessWorkload identity is distinct from the deploying administrator

Data destinations

DatasetDestination
Operational stateLakebase database gtm, schemas public and gtm
GTM event projectiongtm_brain_analytics.gtm.events
Model evaluationsgtm_brain_analytics.gtm.llm_evaluations
Funnel aggregatesgtm_brain_analytics.gtm.funnel_daily
App OTelgtm_otel_logs, gtm_otel_metrics, gtm_otel_spans
MLflow/OTel tracesgtm_brain_traces_* UC tables

Security boundaries

Rendering diagram...

There are two intentional authentication layers. Databricks controls who can reach the App at all; Better Auth controls product users, organization membership, admin roles, and application sessions. Every GTM query is then scoped to the organization ID.

On this page