Connecting to Snowflake

Ridge delivers AI-enabled embedded analytics and data agents so product teams can build quickly, prove value, and win the customer.

Time to read
5 min read
|
For Snowflake Admins
|
Cloud data warehouse
OVERVIEW

How Ridge works with Snowflake

What you can do

  • Connect to Snowflake over ODBC with key-pair (JWT) authentication
  • Reference a table directly, or shape it with a custom SQL query
  • Refresh on a schedule with standard cron expressions
Gather credentials

What you'll need

A few connection details link Ridge to your account. Collect these before you start.

Connect in Ridge

Set up the connection

1 Create a Connection

On the Data page, click New Connection and choose Snowflake as the type. Enter the credentials you gathered, then save.

  • Account identifier and Username
  • Private key (PEM) and its password

2 Create a Dataset

Back on the Data page, click New, select source Connection, and pick the Snowflake connection you just created. A Data Set points at a specific table and can carry its own query and refresh schedule.

3 Select a table, or write a query

Choose how Ridge reads from Snowflake. A direct table reference is simplest; custom SQL lets you filter and aggregate at the source.

4 Schedule ingestion

Set an ingestion schedule with standard cron syntax, then save. Ridge runs your query against Snowflake and stores the results, ready for analysis.

Recommendations

Best practices

A few habits keep ingestion secure and predictable.

Reference

Supported features & limitations

Help

Troubleshooting

Most connection issues fall into four buckets. Expand the one that matches your error.

Invalid credentials

"marshaling private key failed", "could not parse PEM", "incorrect username or password", "JWT token is invalid", 401

Your PEM key or password is bad, or the JWT was rejected. Re-paste the PEM key (keep the newlines) and password, and confirm key-pair auth is registered on the user.

Insufficient permissions

"insufficient privileges", "access control", 403

The role lacks rights. Grant it read access to the object.

Resource not found

"does not exist or not authorized", "object does not exist", "account name", 404

The account identifier or object name is wrong. Fix the identifier.

Network unreachable

"could not resolve host", "timed out", "connection refused", ODBC HYT00/08S01

The host is unreachable or timed out. Check your egress allowlist and account host.