Snowflake (Snowpark)
The Snowflake (Snowpark) connection lets your Rapidminer® AI Cloud processes read data from and write data to Snowflake. It is built on Snowflake's Snowpark library and is available alongside the Snowflake (JDBC) connection. Compared with the JDBC connection, it loads metadata almost instantly and writes large tables much faster..
Prerequisites
You need:
- A Snowflake account identifier, for example
xy12345.snowflakecomputing.com. You can find it in Snowsight in the account menu (bottom left), or take it from your Snowflake login URL. If you don't have Snowsight access, ask your Snowflake administrator. - A Snowflake user set up for one of the supported authentication methods (see Authentication).
- A role with the privileges for what you want to do.
- Permission to create connections in your Rapidminer AI Cloud project.
Tip: Use a dedicated Snowflake service user and warehouse for Rapidminer AI Cloud. This keeps credentials separate from personal accounts and makes compute cost easy to track.
Create the connection
-
In Rapidminer AI Cloud, open Connections and click Create Connection.
-
Select Snowflake (Snowpark). You can find it under All or Databases.

-
Enter a Connection Name.
-
Under Credentials, enter your Account and choose an Authenticator: Key Pair, Password or OAuth. Fill in the fields for that method (see Authentication).
-
Under Session Defaults, enter the Warehouse and Database.
-
Optionally, open Advanced Settings and enter a Role and Schema.
-
Click Test Connection, then Save Connection. You can save once all required fields (marked *) are filled in.
A successful test confirms that Rapidminer AI Cloud can sign in and use the warehouse and database. It does not confirm access to every table you will use.
Session defaults and advanced settings
| Field | Required | Description |
|---|---|---|
| Warehouse | Yes | The virtual warehouse that runs your queries and is billed for the compute. Case-sensitive. |
| Database | Yes | The default database for reads and writes. Case-sensitive. |
| Role | No | The role to assume. If empty, Snowflake uses the user's default role. |
| Schema | No | The default schema. Tables you name without a schema are looked up here. |
Tip: Set the Role explicitly. The user's default role may not be the one that has access to your tables.
Authentication
| Authenticator | Best for | What you need |
|---|---|---|
| Key Pair (default) | Service users and scheduled processes | A private key file whose public key is registered on the Snowflake user |
| Password | Quick setup with a token issued by Snowflake | A programmatic access token (PAT) for the Snowflake user |
| OAuth | Users signing in with their own identity | A Snowflake Value Provider set up by your IT administrator |
Key Pair
-
Create a certificate of your choosing. It can be encoded in PEM or P8 formats and encrypted.
-
Extract the public key and ask your Snowflake administrator to register it on your user.
-
In the connection, select Key Pair and fill in the fields:

| Field | Required | Description |
|---|---|---|
| Account | Yes | Your Snowflake account identifier |
| Authenticator | Yes | Key Pair |
| Username | Yes | The Snowflake user that holds the registered public key |
| Private Key File | Yes | Upload the PKCS#8 PEM private key file (.p8) |
| Private Key Passphrase | No | Only for an encrypted key. Leave empty for an unencrypted key. |
Password (programmatic access token)
This method uses a Snowflake programmatic access token (PAT) instead of a password.
-
Generate a PAT for the Snowflake user in Snowsight or with SQL. Copy it right away; Snowflake shows it only once.
-
By default, Snowflake only accepts a PAT from a user covered by a network policy. Make sure the policy allows Rapidminer AI Cloud, or ask your Snowflake administrator.
-
In the connection, select Password and fill in the fields:

| Field | Required | Description |
|---|---|---|
| Account | Yes | Your Snowflake account identifier |
| Authenticator | Yes | Password |
| Username | Yes | The Snowflake user the token was generated for |
| PAT (Programmatic Access Token) | Yes | The token value |
Every PAT has an expiry date. When it expires, generate a new token and update the connection.
OAuth
With OAuth you sign in to Snowflake with your own identity. Rapidminer AI Cloud do not store your Snowflake password. For Snowflake OAuth, your IT administrator must set up a Value Provider; see About Value Providers.
Set up the connection
-
In the connection, select OAuth and choose the Snowflake Value Provider.

-
Click Request Token and sign in to Snowflake when prompted. When the request succeeds, the form shows a green Access Token status and a Valid until time.
| Field | Required | Description |
|---|---|---|
| Account | Yes | Your Snowflake account identifier |
| Authenticator | Yes | OAuth |
| Value Provider | Yes | The Snowflake Value Provider set up by your IT administrator |
Supported operators
Use this connection with the Read Snowflake and Write Snowflake operators and all operators that work on the data inside the process/exampleset such as operators for data preparation , modelling, validation. .
For SQL statements (Execute SQL) or In-Database processing, use a Snowflake (JDBC) connection. A process can use both connections.
Note: If Read Snowflake and Write Snowflake don't appear in your operator list, restart your workspace.
Also if you are migrating from JDBC to Snowpark connection, replace Read and Write Database operators with Read Snowflake and Write Snowflake.
Read data
- Add Read Snowflake to your process.
- Select your Snowflake (Snowpark) connection.
- Choose the table to read.
- Run the process. The data is returned as an example set.
Write data
-
Add Write Snowflake to your process and connect your example set.
-
Select your Snowflake (Snowpark) connection.
-
Set the parameters:
Parameter Description Use Default Schema Writes to the connection's default schema. Turn it off to choose another schema. Table Name The target table. Overwrite Mode Append adds rows to an existing table. Overwrite drops and recreates the table. -
Run the process.
Troubleshooting
| Problem | Likely cause | What to do |
|---|---|---|
| Read Snowflake or Write Snowflake is missing | The workspace hasn't loaded the new operators | Restart your workspace |
| Test Connection can't reach the account | Account identifier incomplete; a bare locator such as xy12345 only works in Snowflake's default region | Add the region and cloud, for example xy12345.eu-central-1 |
| Key Pair: authentication fails | Public key not registered on the user, or a different key | Ask your administrator to run DESC USER <username> and compare RSA_PUBLIC_KEY_FP with your key |
| OAuth: Value Provider list is empty | No Snowflake Value Provider exists, or you have no access to it | Ask your IT administrator |
| OAuth: access token expired | The Valid until time has passed | Click Request Token again and save the connection |
| Password: authentication fails | PAT expired or revoked, or no network policy allows Rapidminer AI Cloud | Generate a new token; ask your administrator to check the network policy |
| "must have CREATE TABLE granted on SCHEMA" | The table doesn't exist, Overwrite mode requires CREATE TABLE granted for your user | Have the table created for you or get a role that have the grant |
| Warehouse or permission error when reading | Role lacks USAGE on the warehouse or SELECT on the table | Set a Role with these privileges, or ask for the grants |
| Table not found | The name resolves to another schema, or differs in case | Use the fully qualified name (DATABASE.SCHEMA.TABLE) or set the Schema |
About Value Providers
A Value Provider is a shared, centrally managed configuration in Rapidminer AI Cloud that holds the settings needed to obtain credentials from an external system. For Snowflake OAuth, it contains the details of the OAuth integration that your Snowflake administrator created. Connections refer to the Value Provider instead of storing those details themselves, so the setup is done once and reused by many users and connections.
Your IT administrator provisions the Value Provider. It requires:
- A Snowflake administrator to create an OAuth security integration in Snowflake.
- A Rapidminer AI Cloud administrator to create a Value Provider of type Snowflake under Data Assets > Value Providers > Create New, using the details of that integration.
Users don't create Value Providers themselves; they only select one in the connection. If none is available, contact your IT administrator.
