Connect a client or authorize an external service
Distinguish a client connection from a Snowflake integration that delegates external access.
Connect a client or authorize an external service
Work through the decision
A dashboard can authenticate to Snowflake. An external stage nevertheless cannot read its bucket, and a repository integration needs separate credentials. Should the dashboard password be shared with those services?
Check your reasoning
Start with the connection boundary. A driver or connector lets the client talk to Snowflake. A storage integration establishes delegated cloud-storage access for allowed locations. An API integration or a Git repository integration has a different purpose and its own permitted endpoints and credentials.
Compare the choices
- JDBC driver
- Connect compatible Java applications using the Snowflake JDBC interface and supported authentication settings.
- ODBC driver
- Connect BI or other clients built around the Open Database Connectivity interface.
- Python Connector
- Connect Python applications using the supported connector for sessions, parameter binding and result fetching.
- Storage integration
- Define a delegated identity and allowed storage locations for supported external stages.
- API integration
- Authorize supported external API access, including relevant external-function or Git integration configurations.
- Git repository object
- Represent an authorized Git repository in Snowflake using an appropriate API integration and supported authentication for the remote.
Test the decision
For an external stage, record its storage integration, permitted path and the matching cloud trust grant. Connecting successfully from a Python client verifies that client’s session. It does not demonstrate that Snowflake can assume the cloud identity for storage.
Practice the guide skills
- Match JDBC and ODBC drivers to the consuming application's supported interface. Watch 2:15:56
- Choose a supported client connector and identify its authentication method and session defaults. Watch 2:16:21
- Check allowed storage locations and the matching external cloud identity in a storage integration. Watch 2:17:36
- Match an API integration's provider and allowed prefixes to the approved service. Watch 2:18:12
- Trace a Snowflake Git repository object through its API integration to an authorized remote and branch. Watch 2:19:34
Official objectives for this lesson
Related lesson · Configure a workspace for its workloads
Connect a client or authorize an external service quiz
Answer 3 questions. Check each answer for an explanation.