OpenCatalog Catalog Integration
Setup, verify, or troubleshoot a Snowflake catalog integration for OpenCatalog (formerly Polaris).
Intent Routing (FIRST)
Ask the user:
What would you like to do?
A: Create a new catalog integration for OpenCatalog
→ Setup Snowflake to connect to OpenCatalog
B: Verify an existing catalog integration
→ Test connection and list namespaces/tables
C: Troubleshoot a catalog integration
→ Diagnose and fix connection issues
Route based on response:
- A (Create) → Load
setup/SKILL.mdthen follow Create Workflow - B (Verify) → Load
verify/SKILL.mdthen follow Verify Workflow - C (Troubleshoot) → Load
references/troubleshooting.mdthen follow Troubleshoot Workflow
Create Workflow
⚠️ REQUIRED: Load
setup/SKILL.mdFIRST before proceeding with this workflow.
Create a new catalog integration to connect Snowflake to OpenCatalog.
Step 1: Prerequisites
Follow setup/SKILL.md to collect:
Collect one-by-one:
- Confirm OpenCatalog setup exists
- Access delegation mode
- Connectivity type (Public or PrivateLink)
- OpenCatalog account identifier + VPCE Service ID (if cross-deployment PrivateLink)
- Catalog name
- Catalog namespace (optional)
- OAuth credentials (Client ID, Secret, Scopes)
- Integration name
⚠️ STOP: Confirm prerequisites before proceeding
Step 2: Create Integration
Load create/SKILL.md and follow its workflow:
- If PrivateLink (cross-deployment only): Provision PrivateLink endpoint, verify status. Skip if OpenCatalog and Snowflake are in the same deployment.
- Generate CREATE CATALOG INTEGRATION SQL
- ⚠️ STOP: Review SQL with user
- Execute creation
Step 3: Verify
→ Continue to Verify Workflow
Verify Workflow
⚠️ REQUIRED: Load
verify/SKILL.mdFIRST before proceeding with this workflow.
Verify an existing catalog integration is working correctly.
Step V1: Get Integration Name
Ask: "What is the name of your catalog integration?"
If user doesn't know:
SHOW CATALOG INTEGRATIONS;
Step V2: Check Integration Status
Follow verify/SKILL.md which loads the shared verification workflow.
Run verification checks:
-- Check integration exists and is enabled
SHOW CATALOG INTEGRATIONS LIKE '<integration_name>';
-- Verify connection
SELECT SYSTEM$VERIFY_CATALOG_INTEGRATION('<integration_name>');
-- List namespaces
SELECT SYSTEM$LIST_NAMESPACES_FROM_CATALOG('<integration_name>');
-- List tables in a namespace
SELECT SYSTEM$LIST_ICEBERG_TABLES_FROM_CATALOG('<integration_name>', '<namespace>');
Step V3: Report Results
If all checks pass:
✅ Integration verified successfully
- Status: ENABLED
- Connection: Working
- Namespaces: <count> discovered
- Tables: Accessible
If any check fails → Continue to Troubleshoot Workflow
Step V4: Next Steps
If verification succeeded:
Load shared/next-steps/SKILL.md (path: ../shared/next-steps/SKILL.md)
Guide user through options for accessing catalog tables:
- Option A: Create individual Iceberg tables
- Option B: Create catalog-linked database (recommended)
Troubleshoot Workflow
⚠️ REQUIRED: Load
references/troubleshooting.mdto have error patterns and solutions available.
Diagnose and fix issues with an existing catalog integration.
Step T1: Get Integration Name
Ask: "What is the name of your catalog integration?"
Step T2: Gather Error Information
Ask: "What error or issue are you experiencing?"
Common symptoms:
- Integration creation failed
- Verification returns error
- Cannot list namespaces
- Cannot see tables
- OAuth authentication errors
- PrivateLink connectivity issues
Step T3: Diagnose
Use error patterns from references/troubleshooting.md to diagnose.
Run diagnostics:
-- Check integration details
DESC CATALOG INTEGRATION <integration_name>;
-- Test connection
SELECT SYSTEM$VERIFY_CATALOG_INTEGRATION('<integration_name>');
Step T4: Match Error Pattern
Common issues and solutions in references/troubleshooting.md:
- OAuth authentication failures
- Catalog not found
- Network connectivity issues (public and PrivateLink)
- External volume issues
- Namespace/table discovery issues
- Table query failures
- PrivateLink endpoint not available
- PrivateLink endpoint limit exceeded (max 5 per account)
- PrivateLink endpoint already exists (safe to proceed)
- PrivateLink VPCE service not allowed (same-deployment skip or cross-deployment allowlisting)
⚠️ STOP: Present diagnosis and wait for user direction before applying fixes.
Scope
This skill focuses on Snowflake-side setup:
- ✅ Creating catalog integrations for OpenCatalog (public and PrivateLink)
- ✅ PrivateLink endpoint provisioning and verification (cross-deployment only)
- ✅ OAuth authentication configuration
- ✅ Service connection setup guidance
- ✅ Verification
- ✅ Troubleshooting
Out of scope (separate resources):
- ❌ OpenCatalog account/catalog setup → OpenCatalog Documentation
- ❌ OpenCatalog PrivateLink inbound setup (done in OpenCatalog UI) → AWS | Azure
- ❌ External volume creation
- ❌ Creating tables or catalog-linked databases (use shared
next-stepsskill)
Quick Reference
Role guidance: The examples below use
ACCOUNTADMINfor simplicity. Any role withCREATE INTEGRATIONprivilege on the account can create catalog integrations. PrivateLink endpoint provisioning (SYSTEM$PROVISION_PRIVATELINK_ENDPOINT) specifically requiresACCOUNTADMIN.
Catalog Integration SQL (Public):
USE ROLE ACCOUNTADMIN;
CREATE CATALOG INTEGRATION <name>
CATALOG_SOURCE = POLARIS
TABLE_FORMAT = ICEBERG
-- CATALOG_NAMESPACE = '<namespace>' -- Optional: omit if not needed
REST_CONFIG = (
CATALOG_URI = 'https://<orgname>-<account_name>.snowflakecomputing.com/polaris/api/catalog'
CATALOG_API_TYPE = PUBLIC -- Optional, PUBLIC is the default
CATALOG_NAME = '<catalog_name>'
ACCESS_DELEGATION_MODE = <VENDED_CREDENTIALS|EXTERNAL_VOLUME_CREDENTIALS>
)
REST_AUTHENTICATION = (
TYPE = OAUTH
OAUTH_CLIENT_ID = '<client_id>'
OAUTH_CLIENT_SECRET = '<client_secret>'
OAUTH_ALLOWED_SCOPES = ('PRINCIPAL_ROLE:<principal_role>')
)
ENABLED = TRUE;
Catalog Integration SQL (PrivateLink):
-- Step 1 (cross-deployment ONLY): Check if endpoint already exists (skip if same deployment)
SELECT SYSTEM$GET_PRIVATELINK_ENDPOINTS_INFO();
-- Alternative: SELECT * FROM SNOWFLAKE.ACCOUNT_USAGE.OUTBOUND_PRIVATELINK_ENDPOINTS;
-- Step 2 (cross-deployment ONLY): Provision PrivateLink endpoint (skip if same deployment)
USE ROLE ACCOUNTADMIN;
SELECT SYSTEM$PROVISION_PRIVATELINK_ENDPOINT(
'<vpce_service_id>',
'<privatelink_host>'
);
-- Note: If you have multiple OpenCatalog accounts in the same deployment,
-- consider using a wildcard hostname (e.g., '*.us-west-2.privatelink.snowflakecomputing.com')
-- so one endpoint can serve them all. Each deployment has a single PrivateLink service,
-- so a wildcard avoids provisioning separate endpoints per account.
-- Step 3 (cross-deployment ONLY): Verify endpoint is available
SELECT SYSTEM$GET_PRIVATELINK_ENDPOINTS_INFO();
-- Alternative: SELECT * FROM SNOWFLAKE.ACCOUNT_USAGE.OUTBOUND_PRIVATELINK_ENDPOINTS;
-- Step 4: Create catalog integration
USE ROLE ACCOUNTADMIN;
CREATE CATALOG INTEGRATION <name>
CATALOG_SOURCE = POLARIS
TABLE_FORMAT = ICEBERG
CATALOG_NAMESPACE = '<namespace>'
REST_CONFIG = (
CATALOG_URI = 'https://<open_catalog_privatelink_account_url>/polaris/api/catalog'
CATALOG_API_TYPE = PRIVATE
CATALOG_NAME = '<catalog_name>'
-- ACCESS_DELEGATION_MODE here defaults to EXTERNAL_VOLUME_CREDENTIALS. To use VENDED_CREDENTIALS with private storage routing, see "Vended credentials with private connectivity to storage" below.
)
REST_AUTHENTICATION = (
TYPE = OAUTH
OAUTH_CLIENT_ID = '<client_id>'
OAUTH_CLIENT_SECRET = '<client_secret>'
OAUTH_ALLOWED_SCOPES = ('PRINCIPAL_ROLE:<principal_role>')
-- OAUTH_TOKEN_URI = '<token_uri>' -- Optional: only needed if using an external IdP (e.g., Okta, Auth0)
-- OAUTH_API_TYPE = PRIVATE -- Optional: defaults to CATALOG_API_TYPE. Set to PUBLIC if external IdP doesn't support inbound PrivateLink.
)
ENABLED = TRUE;
⚠️ PrivateLink notes:
- Requires Business Critical Edition (or higher). To inquire about upgrading, please contact Snowflake Support.
CATALOG_API_TYPE = PRIVATE(notPUBLIC)CATALOG_URIuses the PrivateLink account URL- Catalog-vended credentials work with PrivateLink. To also route storage traffic over PrivateLink, see "Vended credentials with private connectivity to storage" below and set
DEFAULT_STORAGE_CONFIG = (USE_PRIVATELINK_ENDPOINT = TRUE). If you keepEXTERNAL_VOLUME_CREDENTIALS(the default), use a separate external volume for storage access.- Endpoint provisioning (Steps 1-3) is only needed for cross-deployment setups (OpenCatalog and Snowflake in different deployments). If same deployment, skip directly to Step 4.
Vended credentials with private connectivity to storage
Any OpenCatalog integration with ACCESS_DELEGATION_MODE = VENDED_CREDENTIALS can route Snowflake-to-storage traffic through PrivateLink by setting DEFAULT_STORAGE_CONFIG = (USE_PRIVATELINK_ENDPOINT = TRUE). This is independent of (and combinable with) catalog-server PrivateLink (CATALOG_API_TYPE = PRIVATE).
Step 1: OpenCatalog-specific preparation
Before configuring DEFAULT_STORAGE_CONFIG on the Snowflake side, provision a private connectivity endpoint in your Open Catalog account and enable the PrivateLink toggle on the catalog:
- AWS: Manage outbound private connectivity endpoints (AWS)
- Azure: Manage outbound private connectivity endpoints (Azure)
- For Azure ADLS Gen2, both
blobanddfsendpoints are required. The catalog vendsdfs.core.windows.netURLs; without adfsendpoint, storage access will fail.
- For Azure ADLS Gen2, both
Step 2: Cross-vendor storage PrivateLink steps
For the remaining steps — block public storage access, provision a Snowflake-side storage PrivateLink endpoint, allowlist the endpoint, and verify connectivity — see the shared flow:
shared/vended-credentials-private-storage/SKILL.md
Example: OpenCatalog with vended credentials and storage PrivateLink
USE ROLE ACCOUNTADMIN;
CREATE CATALOG INTEGRATION <integration_name>
CATALOG_SOURCE = POLARIS
TABLE_FORMAT = ICEBERG
REST_CONFIG = (
CATALOG_URI = 'https://<open_catalog_privatelink_account_url>/polaris/api/catalog'
CATALOG_API_TYPE = PRIVATE
CATALOG_NAME = '<catalog_name>'
ACCESS_DELEGATION_MODE = VENDED_CREDENTIALS
)
REST_AUTHENTICATION = (
TYPE = OAUTH
OAUTH_CLIENT_ID = '<oauth_client_id>'
OAUTH_CLIENT_SECRET = '<oauth_client_secret>'
OAUTH_ALLOWED_SCOPES = ('PRINCIPAL_ROLE:ALL')
)
DEFAULT_STORAGE_CONFIG = (USE_PRIVATELINK_ENDPOINT = TRUE)
ENABLED = TRUE;
To enable on an existing integration:
⚠️ MANDATORY CHECKPOINT: This
ALTERmodifies a live catalog integration. Present it to the user and wait for explicit approval before executing.
ALTER CATALOG INTEGRATION <name> SET DEFAULT_STORAGE_CONFIG = (USE_PRIVATELINK_ENDPOINT = TRUE);
Self-hosted / generic Iceberg REST
The same pattern applies to any generic Iceberg REST vendor:
USE ROLE ACCOUNTADMIN;
CREATE CATALOG INTEGRATION <integration_name>
CATALOG_SOURCE = ICEBERG_REST
TABLE_FORMAT = ICEBERG
REST_CONFIG = (
CATALOG_URI = 'https://<catalog_endpoint>'
CATALOG_API_TYPE = PRIVATE
CATALOG_NAME = '<catalog_name>'
ACCESS_DELEGATION_MODE = VENDED_CREDENTIALS
)
REST_AUTHENTICATION = (
TYPE = OAUTH
OAUTH_CLIENT_ID = '<oauth_client_id>'
OAUTH_CLIENT_SECRET = '<oauth_client_secret>'
OAUTH_ALLOWED_SCOPES = ('all-apis', 'sql')
)
DEFAULT_STORAGE_CONFIG = (USE_PRIVATELINK_ENDPOINT = TRUE)
ENABLED = TRUE;
Diagnostic Commands:
SHOW CATALOG INTEGRATIONS LIKE '<name>';
DESC CATALOG INTEGRATION <name>;
SELECT SYSTEM$VERIFY_CATALOG_INTEGRATION('<name>');
SELECT SYSTEM$LIST_NAMESPACES_FROM_CATALOG('<name>');
SELECT SYSTEM$LIST_ICEBERG_TABLES_FROM_CATALOG('<name>', '<namespace>');
Success Criteria
- ✅ Integration shows
ENABLED=TRUE - ✅
SYSTEM$VERIFY_CATALOG_INTEGRATION()returns success - ✅ Namespaces discoverable
- ✅ Tables visible
Documentation
- Configure Catalog Integration for OpenCatalog
- CREATE CATALOG INTEGRATION (Snowflake Open Catalog)
- AWS PrivateLink and Snowflake Open Catalog
- Azure Private Link and Snowflake Open Catalog
- GCS Private Service Connect: Not currently documented — check OpenCatalog documentation for latest GCP private connectivity support
- Snowflake Iceberg Tables
- Iceberg Data Types - Supported data type mappings and limitations
- [OpenCatalog Documentation](https://other-docs.snowflake.com/en/openc