Use Campaign Federated Data Access (FDA) option to process information stored in an external database. Follow the steps below to configure access to Snowflake.
Snowflake connector is available for hosted and on-premise deployments. For more on this, refer to this page.
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:
yum update
yum upgrade
yum install -y grep sed tar wget perl curl
For Debian:
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:
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:
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:
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.
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.
For all functions to be available, you need to create the Adobe 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:
Option | Description |
---|---|
workschema | Database schema to use for work tables |
warehouse | Name of the default warehouse to use. It will override the user’s default. |
TimeZoneName | By default empty, which means that the system time zone of the Campaign Classic app server is used. The option can be used to force the TIMEZONE session parameter. For more on this, refer to this page. |
WeekStart | WEEK_START session parameter. By default set to 0. For more on this, refer to this page. |
UseCachedResult | USE_CACHED_RESULTS session parameter. By default set to TRUE. This option can be used to disable Snowflake cached results. For more on this, refer to this page. |
bulkThreads | Number of threads to use for Snowflake bulk-loader, more threads mean a better performance for bigger bulk-loads. By default set to 1. The number can be adjusted, depending on the machine thread count. |
chunkSize | Determines the file size of the bulk-loader chunk. By default set to 128MB. Can be modified for a more optimal performance, when used with bulkThreads. More concurrently active threads mean better performance. For more on this, refer to Snowflake documentation. |
StageName | Name of the pre-provisioned internal stage. It will be used in bulk load instead of creating a new temporary stage. |