Quick-Start Guide
Address Geocode US quick start
Install the app, start your trial, and turn your first batch of US addresses into coordinates without leaving your own Snowflake account.
ACCOUNTADMIN for the install and grant steps.Get Address Geocode US on the Snowflake Marketplace →
Before you begin
- A Snowflake account on a supported cloud and region.
- The
ACCOUNTADMINrole, or a role that can install a Native App and grant an external access integration. - A running virtual compute cluster you can use for the session.
- A table of US addresses, or permission to create one.
Get the app from the Snowflake Marketplace
Already installed Address Geocode US and started your trial? Skip to Step 2.
If not: open the Address Geocode US listing on the Snowflake Marketplace and select Try Now to start the free trial.
The trial is for 20 days and includes 1,000 geocode lookups with full output including latitude and longitude, match level, and the census and jurisdiction fields. No credit card required.
Snowflake will ask you to name the installed application. The examples on this page use the default name SERVICE_OBJECTS_AGUS_APP and the application schema APP_CODE. If you chose a different application name, substitute it in Step 2.
Grant the external access integration
Address Geocode US runs inside your account. Before it can do anything, grant the installed application permission to reach the database and schema you are working in, and to create the table it writes results to.
Substitute your own database and schema for MY_DB and MY_DB.PUBLIC. If you are unsure what the application ended up being called, run SHOW APPLICATIONS; and use the name listed there.
The app reaches the Service Objects geocoding service through a single external access integration. You can inspect it in the app manifest at any time, and you can revoke it at any time.
Prepare your address data
The app reads five columns, and the order is fixed. Every column has to be present in the SELECT statement you pass in, even for records that have no value for it. Pass an empty value rather than dropping the column.
| Column | Required | Notes |
|---|---|---|
CONSUMER_ROW_ID |
Yes | Your identifier for the record. Carried through to the results table as the join key. |
ADDRESS |
Yes | Street line, including number and street name. |
CITY |
Yes | City name. Must be present even when empty. |
STATE |
Yes | Two letter state code or the full state name. Must be present even when empty. |
POSTALCODE |
Yes | Five digit ZIP or ZIP plus four. |
To follow along without touching production data, create a small test table that covers the range of input quality you actually hold:
Those five cover a clean full address, a well known landmark, a street with no postal code, a postal code on its own, and a record that should not resolve at all. Note that the missing values are empty strings, not omitted columns.
Run the geocode
Geocoding runs as a stored procedure. You call it, it writes a results table, and you query that table. Supply a SELECT statement and the path where you want results written.
Read the results
Query the results table the call produced:
These are the columns you act on. They are the location itself, and how precisely the app was able to resolve it.
| Column | What it tells you |
|---|---|
CONSUMER_ROW_ID |
Your original row identifier, for joining back to source. |
Level |
Code for how precisely the address resolved. This is the column to route on. |
LevelDescription |
Plain text explanation of the level code, for example that the address matched exactly at the street location. |
Latitude |
Decimal latitude for the matched location. |
Longitude |
Decimal longitude for the matched location. |
ZIP |
ZIP plus four for the matched location. |
Each record also comes back with the jurisdictions and identifiers its location falls inside: state and county, place name, census tract, block and GeoID, congressional and state legislative districts, FIPS codes, the UTC offset, and ready made Google, Bing and MapQuest links. Those are what make the output joinable to public datasets, and the full field list is in the Service Objects documentation for this operation.
Before you use the coordinates for anything, check how precisely your records actually resolved. This counts your results by level, so you can see at a glance how many matched at the property and how many fell back to something wider:
Move to production
When the trial ends, you can continue to the Marketplace listing’s paid plan. If your organization has a Snowflake capacity commitment, Marketplace Capacity Drawdown lets you apply a percentage of that committed capacity toward the purchase, so the spend runs through an agreement you already have rather than a new one.