Openflow Connector for Salesforce Bulk API: Set up Snowflake¶
Note
This connector is subject to the Snowflake Connector Terms.
This topic describes the steps to set up Snowflake for the Openflow Connector for Salesforce Bulk API.
Prerequisites¶
Before you begin, ensure you have completed the following:
Install Openflow (either BYOC or SPCS). For more information, see About Openflow.
Create an Openflow deployment. For more information, see Set up Openflow - Snowflake Deployment: Create deployment or Set up Openflow - BYOC.
Create an Openflow runtime. For more information, see Set up Openflow - Snowflake Deployment: Create runtime or Set up Openflow - BYOC.
Review the known limitations of the preview connector in About the Openflow Connector for Salesforce Bulk API.
Create a key pair¶
Create a key pair that will be used by the service account user in the connector to interact with the database.
Note
This step is only required if you are deploying the connector in Openflow BYOC. It is NOT needed when deploying the connector in Openflow SPCS.
Generate a private key. The example below shows how to generate an unencrypted private key.
The content of the
rsa_key.p8file will look like this:Generate the public key by referencing the private key.
The content of the
rsa_key.pubfile will look like this:Copy the contents of this file (without the
-----BEGIN PUBLIC KEY-----and-----END PUBLIC KEY-----headers) to use when creating the user in the next section.
Create objects and grant privileges¶
Create a service account, role, database, schema, and warehouse for the connector, and grant the appropriate permissions.
Use a role with
ACCOUNTADMINprivileges to set the role:Create the destination Snowflake database, if it does not exist:
Create the destination schema in the database, if it does not exist:
Create the role used by the Openflow connector:
Grant the privileges to the role to use the database:
Create a warehouse for the connector (or use an existing one) and grant usage privileges to the connector role:
Create the service user and assign the role and public key:
Create a network rule (Openflow Snowflake Deployment only)¶
If you are deploying the connector in a runtime that is in an Openflow Snowflake Deployment, you must create a network rule and external access integration and set them on the runtime.
Next steps¶
Configure the connector in Openflow:
Openflow Connector for Salesforce Bulk API: Configure the connector