Data Engineering

Connecting Row Zero to Snowflake in Five Minutes

By Tomas Vedral 6 min read
Connecting Row Zero to Snowflake in Five Minutes

This post walks through the actual steps to connect Row Zero to Snowflake: what you need before you start, where things tend to slow down, and how to verify the connection is working correctly. If you have a Snowflake account and about five minutes, you should be running queries by the end of this.

What You Need Before You Start

You need three things: a Snowflake account (any edition), a warehouse in that account with compute credits available, and a Snowflake user with the right role. The role requirements are minimal: USAGE on the database and schema you want to query, and USAGE on the virtual warehouse. SYSADMIN works during initial setup if you want to move fast and lock it down later.

Row Zero connects via OAuth or username/password. OAuth is recommended because it means you never store your Snowflake password in Row Zero, and access can be revoked from the Snowflake side without touching the Row Zero configuration. If you are connecting a shared workspace where multiple analysts will use the same credentials, password auth is simpler to start. Either works.

Step-by-Step: OAuth Connection

In Row Zero, open the connections panel (gear icon, top right). Click "Add connection" and select Snowflake. You will see fields for account identifier, role, and warehouse.

The account identifier is the part of your Snowflake URL before .snowflakecomputing.com. For an account at abc12345.us-east-1.snowflakecomputing.com, the identifier is abc12345.us-east-1. Multi-region accounts with a locator format use the locator directly: xy12345.

For the role, enter the name exactly as Snowflake shows it (case-sensitive). Use the warehouse name you want this connection to run queries against. Row Zero will not switch warehouses automatically, so pick the one sized for interactive analyst queries, not your ETL warehouse.

Click "Authorize with Snowflake." You will be redirected to Snowflake's login page. After authenticating, Snowflake issues a refresh token to Row Zero. The redirect brings you back to the connection panel showing a green connected status.

Step-by-Step: Username and Password

Same initial fields plus a username and password prompt. One thing to check: if your Snowflake account uses SSO (Okta, Azure AD, etc.) for user authentication, password auth is often disabled at the account level. In that case you will see a login error even with correct credentials, and OAuth is the right path regardless.

What to Check if Your Connection Is Slow

A successful connection that returns results slowly is usually one of three things.

First: the Snowflake virtual warehouse is auto-suspended and needs to cold-start. An X-Small warehouse that has been idle typically takes 5-10 seconds to resume. If you want sub-second first-query response, set the auto-suspend timeout to something longer (120 seconds instead of 60) so it stays warm during an active session.

Second: warehouse sizing. An X-Small warehouse is single-cluster and works well for typical analyst interactive queries. If you are running something like a multi-table join across two tables each holding hundreds of millions of rows, consider bumping to Small or Medium for that query.

Third: Row Zero is sending a query that causes a full table scan, often because there is no filter applied in the column header. When you first open a large table in Row Zero, apply a date filter or a WHERE clause to scope the result set before pulling in all rows. The schema browser shows column names and types upfront, so you can see which column to filter on before running the query.

Verifying the Connection Is Working Correctly

After the OAuth redirect, open the schema browser. You should see your Snowflake databases listed. Expand one to see schemas, then tables. If you see databases but tables show as empty, the role you specified likely has database USAGE but not schema USAGE. Grant schema USAGE on the target schema and refresh the browser.

To confirm query pushdown is active, open a large table and watch the Row Zero status bar. You will see "Running query on Snowflake" during execution, not a local processing indicator. That confirms the compute is happening in your warehouse, not in the browser.

A Note on Network and IP Restrictions

If your Snowflake account has a network policy restricting connections to known IP ranges, you will need to add Row Zero's egress IP addresses to that allowlist. You can find the current IP list in Row Zero's connection settings panel under "Allowed IPs." Network policies in Snowflake are account-level or user-level; check both if you are seeing connection refused errors that do not match a credential problem.

Key-pair authentication (RSA private key instead of password) is on the Row Zero connector roadmap. If your security requirements mandate key-pair and you need it today, the workaround is a dedicated service user with password auth scoped to a restricted role, rather than tying the connection to a personal user account.

← Back to blog