Skip to main content

Give your OuterProduct account permission to access your Databricks workspace

We authenticate with Databricks via OAuth token federation. OuterProduct gets an AWS IAM OIDC token through STS, then Databricks exchanges it for a Databricks OAuth token using OAuth 2.0 Token Exchange. For Databricks background, see Authenticate access to Databricks using OAuth token federation.
1

Open the New Connector wizard

Log in to console.outerproduct.com and navigate to Connectors. Click New Connector, give your connector a name, and select Databricks.
2

Enter your Databricks connection details

Enter your Databricks workspace URL, SQL warehouse HTTP path, and the service principal OuterProduct should authenticate as.
3

Run the generated federation policy command

Copy the Databricks CLI command from the connector wizard and run it as a Databricks account admin. Databricks federation policies are account-level, so your CLI profile must use https://accounts.cloud.databricks.com. For policy details, see Configure a federation policy.
Do not edit the generated issuer, audience, or subject.
4

Grant Databricks permissions

Grant the Databricks service principal access to the SQL warehouse and tables you want OuterProduct to read. It needs CAN USE on the warehouse plus USE CATALOG, USE SCHEMA, and SELECT on the registered tables.
5

Save the connector

Return to the connector wizard and click Add connector. OuterProduct validates the workload identity login before saving the connector.
The generated federation policy only sets up login. Databricks table and warehouse permissions still come from the service principal.

Use it from Python

Once your connector is saved in the Console, register the Databricks table as a source table with ws.register_databricks. Pass a table name, the source locator in catalog.schema.table form, and the connector name from the Console. The call returns a DataFrame you can train on, or query later with ws.table(name) or ws.sql(...).