Change Snowflake text from Database URL to JDBC Connection string - GDC-676, GDC-686

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7385
Co-authored-by: Julian <843342+okjulian@users.noreply.github.com>
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: e14d76c206212ce9510f6cb7ef63c5434a54d471
This commit is contained in:
Julian@Hasura 2023-01-09 20:12:59 -03:00 committed by hasura-bot
parent a40e266a33
commit aefdf0dd81

View File

@ -48,8 +48,8 @@ Head to the `Data > Manage databases` section on the Console to add your Snowfla
:::info Make sure your Snowflake service is reachable by Hasura Cloud:
1. **Allow public connections or
[whitelist the Hasura Cloud IP](/projects/create.mdx#cloud-projects-create-allow-nat-ip) on your Snowflake
firewall:** This is good for testing and will allow you to quickly try out Hasura with your database!
[whitelist the Hasura Cloud IP](/projects/create.mdx#cloud-projects-create-allow-nat-ip) on your [Snowflake
firewall](https://docs.snowflake.com/en/user-guide/network-policies.html):** This is good for testing and will allow you to quickly try out Hasura with your database!
2. **VPC peering:** VPC peering and private network access is available on Hasura Cloud paid tiers and is
recommended for production. Get in touch with us if you'd like to try this out against your existing databases.
@ -63,7 +63,7 @@ Head to the `Data > Manage databases` section on the Console to add your Snowfla
<Thumbnail src='/img/databases/snowflake/choose-snowflake.png' alt='temp' width='1000px' />
#### Step 2.3: Enter your Snowflake database URL
#### Step 2.3: Enter your Snowflake JDBC Connection string
<Thumbnail
src='/img/databases/snowflake/database-config.png'
@ -71,6 +71,15 @@ Head to the `Data > Manage databases` section on the Console to add your Snowfla
width='1000px'
/>
Snowflake JDBC connection strings have the [following formats](https://docs.snowflake.com/en/user-guide/jdbc-configure.html#examples):
- `jdbc:snowflake://myorganization-myaccount.snowflakecomputing.com/?user=peter&warehouse=mywh&db=mydb&schema=public`
- `jdbc:snowflake://xy12345.snowflakecomputing.com/?user=peter&warehouse=mywh&db=mydb&schema=public`
You can get your `account id` for the second syntax by logging in to Snowflake and navigating to `Admin -> Accounts`.
You can find more info on Snowflake's [JDBC Connection docs](https://docs.snowflake.com/en/user-guide/jdbc-configure.html#jdbc-driver-connection-string) here.
Once you add the Snowflake service, you will find it listed as an available database on the sidebar.
### Step 3: Track existing tables