Prerequisites
- A Snowflake data connection authenticated with a key pair (password-auth connections are not accepted by Snowflake’s Cortex REST API).
- The connection’s role needs Cortex access (the
SNOWFLAKE.CORTEX_USERdatabase role, granted toPUBLICby default).
Configure in Datafold
- Navigate to Settings → Integrations, click Add New Integration, and choose Snowflake Cortex.
- Select the Data connection for the account that serves Cortex.
- Models — Datafold lists the account’s Cortex models via
SHOW CORTEX BASE MODELS. Select the ones to expose, or add ids manually (e.g.claude-4-sonnet,mistral-large2). - Click Save.
Enabling the automatic model listing
SHOW CORTEX BASE MODELS reads the SNOWFLAKE.MODELS schema, which is empty until an account admin populates it, and its output is filtered by RBAC. If the model fetch reports that the schema is inaccessible, run as ACCOUNTADMIN:
