Back to Product Updates
Key Feature
Integrations

Connect Databricks with service principal OAuth

July 22, 2026

Databricks data sources in GrowthBook can authenticate with OAuth machine-to-machine (M2M) using a service principal. You enter the service principal's Client ID and OAuth secret instead of a personal access token. Databricks recommends OAuth over personal access tokens for stronger security.

How authentication works

GrowthBook exchanges the service principal's Client ID and OAuth secret for short-lived access tokens at query time and refreshes them automatically. The connection doesn't need a long-lived personal access token.

  • Personal access token (PAT) authentication remains supported, and existing Databricks connections keep using their token.
  • If you switch an existing connection from a token to OAuth, GrowthBook asks for the new OAuth secret before you save.

Prepare the connection

Create or reuse a Databricks service principal and generate an OAuth secret for it. Grant the service principal permission to use your SQL Warehouse and access the data you want to query. Then have these values ready:

  • The SQL Warehouse's server hostname, port, and HTTP path, from its Connection Details page in Databricks.
  • The service principal's Client ID and OAuth secret. Databricks shows the secret only once, so copy it when you generate it.

Getting started

On the Data Sources page under Metrics and Data, add a data source and choose Databricks. Set Authentication method to OAuth (machine-to-machine), then enter the warehouse details, Client ID, and OAuth secret. The Databricks setup guide walks through each step, including service principal permissions.

Similar updates

See All Updates
Key Feature
SDKs

Evaluate multiple Java feature flags in one call

October 15, 2026
Key Feature
Product Analytics

Inspect warehouse query statistics and audit records

October 12, 2026
Key Feature
Product Analytics

See how analysis adjustments affect a metric's results

October 12, 2026
Key Feature
Feature Flags

Reuse Saved Groups and find broken targeting references

October 9, 2026
Key Feature
Product Analytics

Connect LLM traces to experiment metrics

October 5, 2026
Key Feature
AI Platform

Set up GrowthBook SDKs with your coding agent

September 29, 2026
Key Feature
Product Analytics

Explore user journeys in Product Analytics

September 22, 2026
Key Feature
Product Analytics

Explore SQL results and turn them into charts

September 22, 2026
Key Feature
Integrations

New Slack integration

September 22, 2026
Key Feature
AI Platform

Connect agents to hosted MCP with OAuth

September 22, 2026
Key Feature
Experimentation

Measure multi-step funnels inside experiments

September 22, 2026
Key Feature
Feature Flags

Personalize variations with contextual bandits (beta)

September 22, 2026
Key Feature
Product Analytics

Keep Managed Warehouse event data in the EU

September 11, 2026
Key Feature
Experimentation

Capture reusable Learnings across experiments

August 27, 2026
Key Feature
Integrations

Analyze Adobe Experience Platform data in GrowthBook

August 18, 2026
Key Feature
SDKs

Use typed feature values in Swift and Kotlin

August 15, 2026
Key Feature
Feature Flags

Share feature flags across projects

July 24, 2026
Key Feature
Feature Flags

Validate string and number flags with schemas and scoped hooks

July 23, 2026
Key Feature
Product Analytics

Product Analytics is generally available

July 20, 2026
Key Feature
AI Platform

Build website variations with the AI Visual Editor

July 20, 2026
Key Feature
AI Platform

Use the in-app AI Assistant across GrowthBook

July 20, 2026
Key Feature
AI Platform

Use agent skills and the rebuilt GrowthBook CLI

July 20, 2026
Key Feature
Experimentation

Create experiment drafts before finishing analysis setup

July 20, 2026
Key Feature
Experimentation

Apply custom validation before experiment changes

July 16, 2026
Key Feature
Feature Flags

Scheduled analysis refreshes for monitored ramps

July 14, 2026
Key Feature
SDKs

Remote evaluation in Python, PHP, and Java

June 30, 2026
Key Feature
Feature Flags

Review and schedule changes to Saved Groups

June 29, 2026
Key Feature
Feature Flags

Override selected fields in JSON flag values

June 19, 2026
Key Feature
Product Analytics

Use incremental refresh with Snowflake

May 28, 2026
Key Feature
Feature Flags

Run bandits without sticky bucketing

May 27, 2026
Key Feature
Product Analytics

Run Product Analytics explorations through MCP and REST

May 27, 2026
Key Feature
AI Platform

Ask the AI Data Analyst about your product metrics

May 27, 2026
Key Feature
Feature Flags

Plan gradual releases with ramp schedules

May 27, 2026
Key Feature
Experimentation

Manage the experiment lifecycle through the REST API

May 27, 2026