Skip to main content

Give your OuterProduct account permission to access your Snowflake account

We authenticate with Snowflake via Workload Identity Federation, an OAuth-token-based authentication flow.
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 Snowflake.
2

Enter your Snowflake account identifier

Enter your Snowflake [account identifier](https://docs.snowflake.com/en/user-guide/admin-account-identifier).
3

Run the generated setup SQL

Copy the SQL from the connector wizard and run it in a Snowflake worksheet with a role that can create service users, such as ACCOUNTADMIN. The SQL creates a Snowflake SERVICE user that trusts OuterProduct’s OIDC workload identity.
Do not edit the generated user name, issuer, subject, or audience.
4

Save the connector

Return to the connector wizard and click Add connector. OuterProduct validates the workload identity login before saving the connector.
The generated SQL only sets up login. The service user still needs whatever Snowflake privileges your organization requires to read the tables you register.

Use it from Python

Once your connector is saved in the Console, register the Snowflake table as a source table with ws.register_snowflake. Pass a table name, the source locator in DATABASE.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(...).