Skip to content

Step 3: Configure Zero-Copy in Data Workbench

The Zero-Copy configuration establishes the federated query connection between Treasure Data and your Snowflake instance.

Important

To prevent case-sensitive configuration errors, always use uppercase when naming the Warehouse and Database.

Steps

  1. In the Treasure Console, navigate to Data Workbench > Integrations > Integration Hub.
  2. Select Zero-Copy > Snowflake.
  3. Fill in the connection details:
ParameterDescriptionExample
AccountYour Snowflake account identifierabc12345.us-east-1
WarehouseSnowflake warehouse for executing queriesCOMPUTE_WH
DatabaseDatabase containing your Parent Segment tablesCDP_DATABASE
SchemaDefault schema for your tablespublic
UserSnowflake user with the assigned public keyTD_SERVICE_USER
AuthenticationSelect Key Pair and paste the private key contentContents of rsa_key.p8
RoleSnowflake role with SELECT permissions (optional)TD_READONLY_ROLE
  1. Click Test Connection to verify connectivity.
  2. Save the configuration.

Record the Federated Query Config ID

After saving, the configuration is assigned a federatedQueryConfigId (e.g., 167). You need this ID in the next step.

You can find it in the configuration details within the Integration Hub. Use the first three numbers as the federatedQueryConfigId.

Reference