# Integration Setup

{% hint style="info" %}
This integration is only available for Enterprise merchants
{% endhint %}

## Determine database type

Daasity connects to Cordial using [Snowflake Data Sharing](https://docs.snowflake.com/en/user-guide/data-sharing-intro) functionality.  The Database you use will determine the setup process for your Cordial data.

To find your Database type, navigate to the Warehouse section of the Daastiy App:

<div align="left"><figure><img src="/files/JagB6ZOKUKr94on10wJb" alt="" width="211"><figcaption></figcaption></figure></div>

which will indicate which database you use:

* BigQuery
* Redshift
* Snowflake

## BigQuery & Redshift setup

If you use BigQuery or Redshift as your database, please contact <agency@daasity.com> with a request to connect Cordial to your database. Because we extract Cordial data through a Snowflake data share, Daasity will need to connect your Cordial account to the Daasity Snowflake account and then transfer data between our Snowflake and your BigQuery or Redshift account.

## Snowflake setup

There are two different setup depending on if your Snowflake account is owned by Daasity or if you own your Snowflake account.

If your database says `daasity.snowflakecomputing.com` in the Server Host URL on the Warehouse page, then your Snowflake is owned by Daasity:

<div align="left"><figure><img src="/files/ZuYsOhCbR8NEfUw9ZM7T" alt=""><figcaption></figcaption></figure></div>

### Daasity-owned Snowflake

To connect Cordial to a Daasity owned Snowflake please contact <support@daasity.com> so that the Daasity team can connect your Cordial account to Snowflake.

### Merchant-owned Snowflake

To connect Cordial to your owned Snowflake account, follow the "Request a secure share" section in the [Cordial Snowflake Secure Data Sharing](https://support.cordial.com/hc/en-us/articles/9615168271629-Snowflake-Secure-Data-Sharing) article.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.daasity.com/core-concepts/data-integrations/setup-guides/digital-integrations/cordial/integration-setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
