Prerequisites
Before proceeding, ensure the following prerequisites are met:- Install MindsDB locally via Docker or use MindsDB Cloud.
- To connect Snowflake to MindsDB, install the required dependencies following this instruction.
- Install or ensure access to Snowflake.
Implementation
This handler is implemented using the Snowflake connector. The required arguments to establish a connection are as follows:hostis the host name or IP address. The host name comes from the Snowflake link (for example,uvwxyz123.us-west.gcp.snowflakecomputing.com).portis the port used to make TCP/IP connection.databaseis the database name. You can find it in the Snowflake dashboard under the Databases tab.useris the database user.passwordis the database password.accountis the Snowflake account. The account name comes from the Snowflake link (for example,uvwxyz123.us-west.gcp).schemais the default schema name used to query the database.protocolis the protocol that defaults tohttpsif left blank.warehouseis the warehouse account. You can find it in the Snowflake dashboard under the Warehouses tab.