Connect Snowflake
Tables and SQL, through Snowflake's SQL API. How to connect Snowflake to SyncStudio, what to enter, and what you can import into Google Sheets™.
- Data warehouse
- Credentials
- Choose table
- SQL
- Connection links
Before you start
- Open a spreadsheet in Google Sheets and start SyncStudio from Extensions → SyncStudio → Open SyncStudio. The first-import guide covers installing it.
- Use credentials made for reading only: a read-only database user, or an API key with read scopes. SyncStudio never needs to change anything in Snowflake to import from it.
- A query is sent as one statement inside a SELECT, so it cannot change data. Use a role that can only read.
Connect it
- Add the source In the sidebar, press Add a source and choose Snowflake. You can type its name in the search box.
- Fill in the form The form asks for:
Field What to enter Account identifier The part of your Snowflake address before .snowflakecomputing.com. For example myorg-myaccount.Database For example ANALYTICS.Warehouse (optional) Leave empty to use the user's default warehouse. For example COMPUTE_WH.Schema (optional) For example PUBLIC.Role (optional) Use a role that can only read. For example REPORTING_READER.Programmatic access token (optional) · kept secret Your user menu → Settings → Authentication. Snowflake may require a network policy before a token works; a key pair does not need one. User name (optional) Needed only when you sign in with a private key instead of a token. For example SYNCSTUDIO.Private key (instead of a token) (optional) · kept secret An unencrypted RSA key whose public half is set on the user: ALTER USER … SET RSA_PUBLIC_KEY. For example -----BEGIN PRIVATE KEY-----.Client (optional) If you work for several clients: a label to filter imports by. - Test and save Give the connection a name your team will recognise. SyncStudio tests it before saving it; if the test fails, the message says what Snowflake answered.
- Or send a link If someone else holds the credentials, press Send this link to whoever has the details. The link works once, for 7 days, and shows them only this form.
Credentials are encrypted before they are stored, and no part of SyncStudio shows them again. To change them, edit the connection and enter them anew. See Connecting a source.
What you can import
Choose a table, the fields you want, and filters. The list comes from Snowflake itself once the connection is made.
Or write one SELECT statement. It runs read-only, and a preview shows the first rows before anything is written. See Choosing the data.
Next steps
- Build your first import from this connection.
- Choose how often it refreshes, and get told if a refresh fails.
- See the Snowflake page for what SyncStudio does with Snowflake.