SnowflakeConnector lets OuterProduct read data from your Snowflake tables at training and inference time. You store your Snowflake credential once in the OuterProduct Console using a Programmatic Access Token (PAT) and reference it by name in the SDK. No Snowflake credentials are ever passed through the SDK. The OuterProduct backend authenticates directly with Snowflake using the stored PAT.
Add a Snowflake credential in the Console
Before usingSnowflakeConnector from Python, create a credential in the OuterProduct Console and generate a Programmatic Access Token in Snowflake.
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.
Generate a Programmatic Access Token in Snowflake
In Snowsight, navigate to Governance & Security → Users & roles. Select the user the token will be assigned to, then go to Programmatic access tokens → Generate new token. Copy this token, as you’ll need it in the next step.
Assign the PAT to a Snowflake user that has
SELECT access on the tables you want OuterProduct to read.Enter your Snowflake account information
Paste your Snowflake account details and the PAT you just generated into the connector wizard.
Use it from Python
Once your credential is saved in the Console, instantiateSnowflakeConnector with your account details and credential name, then call .table() with the name of the Snowflake table you want to use.