Configuring Snowflake Cortex
Connect Snowflake Cortex as a workload agent application so AI discovery for workload agents can review the agents and MCP servers running in the account. Learn more in Discover and manage workload agents.
-
In the PingOne Privilege admin console, go to AI Security > Workload Agents.
-
Click the Add Application tab.
-
In the list of available applications, find Snowflake Cortex and click Integrate.
-
Enter a Name for the connection.
-
(Optional) Enter a Description.
-
Click Next.
-
Create a dedicated Snowflake service user and role with the following required privileges:
-
SHOW AGENTS IN ACCOUNT -
SHOW MCP SERVERS IN ACCOUNT -
SHOW GRANTS ON AGENT <db>.<schema>.<name> -
SHOW GRANTS ON MCP SERVER <db>.<schema>.<name> -
SHOW GRANTS TO ROLE <role> -
DESCRIBE AGENT <db>.<schema>.<name> -
DESCRIBE MCP SERVER <db>.<schema>.<name> -
USAGE ON WAREHOUSE -
ALTER AGENT <fqn> SET COMMENT = $$<text>$$ -
ALTER MCP SERVER <fqn> SET COMMENT = $$<text>$$ -
DROP AGENT <fqn> -
DROP MCP SERVER <fqn> -
REVOKE USAGE ON AGENT <fqn> FROM ROLE PUBLIC -
REVOKE USAGE ON AGENT <fqn> FROM ROLE <role> -
REVOKE USAGE ON MCP SERVER <fqn> FROM ROLE PUBLIC -
REVOKE USAGE ON MCP SERVER <fqn> FROM ROLE <role> -
GRANT USAGE ON AGENT <fqn> TO ROLE <role> -
GRANT USAGE ON MCP SERVER <fqn> TO ROLE <role> -
GRANT OWNERSHIP ON AGENT <fqn> TO ROLE <role> REVOKE CURRENT GRANTS -
GRANT OWNERSHIP ON MCP SERVER <fqn> TO ROLE <role> REVOKE CURRENT GRANTS
-
-
When you’re done creating the Snowflake service user, click Next.
-
Use the
org-accountformat to enter an Account Identifier. -
Enter a PingOne Privilege User.
-
Generate your RSA Private Key (PEM) with the following command:
$ openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:2048 -out rsa_key.pem -
Paste the key into the required field in the wizard.
-
(Optional) Enter a Warehouse. Leave empty for user default.
-
(Optional) Enter a Default Database. Leave empty to scan all databases.
-
Click Next.
-
Review the summary, then click Add Connection.
You can now validate that the connection is active in the Active Applications tab.