Configure access to Snowflake configure-access-to-snowflake
Use Campaign Federated Data Access (FDA) option to process information stored in an external database. Follow the steps below to configure access to Snowflake.
- Configure Snowflake on Linux.
- Configure the Snowflake external account in Campaign
-
Snowflake connector is available for hosted and on-premise deployments. For more on this, refer to this page.
-
The minimal supported version of the Snowflake ODBC driver is 2.24.4.
Snowflake on Linux snowflake-linux
To configure Snowflake on Linux, follow the steps below:
-
Before the ODBC installation, check that the following packages are installed on your Linux distribution:
-
For Red Hat/CentOS:
code language-none yum update yum upgrade yum install -y grep sed tar wget perl curl
-
For Debian:
code language-none apt-get update apt-get upgrade apt-get install -y grep sed tar wget perl curl
-
-
Before running the script, you can have access to more information with the
--help
option:code language-none cd /usr/local/neolane/nl6/bin/fda-setup-scripts/ ./snowflake_odbc-setup.sh --help
-
Access the directory where the script is located and run the following script as a root user:
code language-none cd /usr/local/neolane/nl6/bin/fda-setup-scripts ./snowflake_odbc-setup.sh
-
After installing the ODBC drivers, you need to restart Campaign Classic. To do so, run the following command:
code language-none systemctl stop nlserver.service systemctl start nlserver.service
-
In Campaign, you can then configure your Snowflake external account. For more on how to configure your external account, refer to this section.
Snowflake external account snowflake-external
You need to create a Snowflake external account to connect your Campaign instance to your Snowflake external database.
-
From Campaign Explorer, click Administration ‘>’ Platform ‘>’ External accounts.
-
Click New.
-
Select External database as your external account’s Type.
-
Under Configuration, select Snowflake from the Type drop-down.
-
Add your Server URL and Database.
-
Configure the Snowflake external account authentication:
-
For Account/password authentication, you must specify:
-
Account: Name of the user
-
Password: User account password.
-
-
For Keypair authentication, click the Keypair Auth tab to use your Private key to authenticate and copy paste your Private key.
-
-
Click the Parameters tab then the Deploy functions button to create functions.
note note NOTE For all functions to be available, you need to create the ÃÛ¶¹ÊÓƵ Campaign SQL functions in the remote database. For more information, refer to this page. -
Click Save when your configuration is finished.
The connector supports the following options:
For more on this, refer to .
For more on this, refer to .
For more on this, refer to .
For more on this, refer to .