liveBook · Manning

External network access

As explained in Snowflake Data Engineering

External network access is a Snowflake capability that permits controlled outbound connections from Snowflake to locations outside the platform.

External network access lets Snowflake data engineers make controlled outbound connections to locations outside Snowflake, enabling stored procedures and user-defined functions to retrieve external data for analysis. section 7.0

Configure the access path around three cooperating objects and the permissions required to use them:

  • Define a network rule for the external network location. section 7.5
  • Store the API token, key, or password in a secret. section 7.5
  • Include the network rule and secret in an external access integration, then pass that integration to a Python function or stored procedure. section 7.5
  • Grant the data engineer USAGE on the integration and READ on the secret; administrators can monitor and limit external locations. section 7.5

Augmenting Snowflake data with customer reviews

A bakery can call a food-delivery website’s API from Snowpark, retrieve customer reviews, and store them in Snowflake tables. The pipeline can parse and flatten JSON responses, remove unprintable characters when necessary, and classify review sentiment with a Snowflake Cortex LLM function. section 7.0 section 7.5

How Snowflake Data Engineering covers it

How deep it goes
Explains network rules, secrets, integrations, privileges, API calls, and JSON cleanup, without detailing platform internals.
Examples
Uses a bakery review API, Snowflake tables, JSON responses, sentiment classification, and unstructured email interpretation.
What it assumes
Requires an API endpoint, an API key, object-creation privileges, USAGE on the integration, and READ on the secret.
What you can do after
Apply it via Snowflake Python functions or stored procedures to call APIs, transform responses, and save results for SQL analysis.
How it connects
Connects stored procedures, user-defined functions, Snowpark, API endpoints, secrets, network rules, external access integrations, and Snowflake Cortex.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Snowflake Data Engineering. The section links point to the parts of the book it draws on.