> ## Documentation Index
> Fetch the complete documentation index at: https://developer.affinity.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect Your Account

> Connect your Snowflake or Databricks account to Affinity Data Share

## Prerequisites

Before you begin, make sure you have:

* **Admin access** in your Affinity organization (required to manage integrations)
* A **Snowflake** or **Databricks** account
* Your platform **account identifier** (covered in the steps below)

> [tab] Snowflake
>
> ## Connect Your Snowflake Account
>
> **1. Open the Snowflake integration**
>
> In Affinity, go to **Settings** → **Integrations** → **Snowflake** → **Affinity Data to Snowflake**.
>
> Click **Add New Configuration**.
>
> ![Affinity Data to Snowflake page showing the Add New Configuration button](https://mintcdn.com/affinityco/ff3lpKlq-jOgcqdr/images/data-share/setup-step1-add-config.png?fit=max\&auto=format\&n=ff3lpKlq-jOgcqdr\&q=85\&s=d4d7324de049536770cedb0b36c2524b)
>
> **2. Find your Snowflake Account Identifier**
>
> In Snowflake, locate your account identifier by:
>
> 1. Clicking your **user profile** at the bottom-left of the Snowflake UI
> 2. Selecting **Account** → **View account details**
> 3. Copying the **data sharing account identifier**
>
> The identifier follows the format `ORG_NAME.ACCOUNT_NAME`.
>
> **3. Enter and verify your identifier**
>
> Paste your account identifier into the **Snowflake Account Identifier** field.
>
> The form will automatically parse it and display your **Organization Name** and **Account Name**
> in the verification panel. Confirm these match your Snowflake instance before continuing.
>
> ![Configuration form showing the account identifier field and verification panel](https://mintcdn.com/affinityco/9omzOzhd7vGm5o9V/images/data-share/setup-step2-config-form.png?fit=max\&auto=format\&n=9omzOzhd7vGm5o9V\&q=85\&s=9f4134c7ed434f899ef277b6fe725a0f)
>
> **4. Choose whether to include email subject lines**
>
> The `subject` column on the `emails` table is NULL by default. To fill it, select **Include
> email subject lines in my data shares**.
>
> Affinity encrypts email subject lines at the application level. Including them removes that
> layer for the share, but the data stays encrypted at rest and in transit. The setting applies
> to every data share in your organization. See
> [Data Access](https://developer.affinity.co/pages/data-share/data_access.md#email-subject-lines) for details.
>
> **5. Confirm and connect**
>
> Check the confirmation box to acknowledge that the integration will grant access to all data
> in your Affinity workspace.
>
> Click **Connect to Snowflake** to save the configuration.
>
> ## What Happens Next
>
> Once connected, Affinity will initiate the data share to your Snowflake account. This process
> typically completes within a few minutes. Account admins on your Snowflake account will receive an
> email notifying them that a private listing has been shared. You can also access listings directly
> in your Snowflake account — see Snowflake's [consumer listing access documentation](https://docs.snowflake.com/en/collaboration/consumer-listings-access#accessing-listings-on-the-sf-marketplace) for details.
>
> > [!NOTE]
> >
> > See [Data Access](https://developer.affinity.co/pages/data-share/data_access.md) for important information about visibility
> > and access controls within the share.

> [tab] Databricks
>
> ## Connect Your Databricks Account
>
> **1. Find your Databricks Sharing Identifier**
>
> In Databricks, locate your sharing identifier (Unity Catalog metastore ID) by:
>
> 1. Opening your Databricks workspace
> 2. Clicking the **Catalog** icon in the left sidebar
> 3. Clicking the **gear icon** at the top of the Catalog page to open metastore settings
> 4. Copying the identifier shown in metastore settings
>
> The identifier follows the format `<cloud>:<region>:<uuid>`, for example
> `aws:us-west-2:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx`.
>
> > [!NOTE]
> >
> > You must have access to a Databricks workspace that is enabled for Unity Catalog. Contact
> > your Databricks workspace administrator if you are unsure.
>
> **2. Open the Databricks integration**
>
> In Affinity, go to **Settings** → **Integrations** → **Databricks** → **Affinity Data to Databricks**.
>
> Click **Add New Configuration**.
>
> > [!NOTE]
> >
> > If you do not see the Databricks tile on the **Integrations** page or the integration is
> > not available to you, reach out to your Affinity Customer Success Manager.
>
> ![Affinity Data to Databricks page showing the empty state and the Add New Configuration button](https://mintcdn.com/affinityco/W7WaCF16P8emw2XI/images/data-share/setup-databricks-step1-add-config.png?fit=max\&auto=format\&n=W7WaCF16P8emw2XI\&q=85\&s=316ca8d9e05e76988d9b85ec8de8069b)
>
> **3. Enter your Sharing Identifier**
>
> Paste your sharing identifier into the **Databricks Sharing Identifier** field.
>
> Confirm the identifier matches your Databricks sharing identifier before continuing.
>
> ![Affinity Data to Databricks configuration form with the Databricks Sharing Identifier field and the Cloud, Region, and Sharing ID verification panel](https://mintcdn.com/affinityco/9omzOzhd7vGm5o9V/images/data-share/setup-databricks-config-form.png?fit=max\&auto=format\&n=9omzOzhd7vGm5o9V\&q=85\&s=168c4a3102b284fe72f10617fbaf5e24)
>
> **4. Choose whether to include email subject lines**
>
> The `subject` column on the `emails` table is NULL by default. To fill it, select **Include
> email subject lines in my data shares**.
>
> Affinity encrypts email subject lines at the application level. Including them removes that
> layer for the share, but the data stays encrypted at rest and in transit. The setting applies
> to every data share in your organization. See
> [Data Access](https://developer.affinity.co/pages/data-share/data_access.md#email-subject-lines) for details.
>
> **5. Confirm and connect**
>
> Check the confirmation box to acknowledge that the integration will grant access to all data
> in your Affinity workspace.
>
> Click **Connect to Databricks** to save the configuration.
>
> ## What Happens Next
>
> Once connected, Affinity will initiate the Delta Share to your Databricks metastore. A
> privileged user in your Databricks workspace (metastore admin, or someone with `CREATE CATALOG`
> and `USE PROVIDER` privileges) will then need to mount the share as a catalog:
>
> 1. In Databricks, open **Catalog** → click the **gear icon** → select **Delta Sharing**
> 2. On the **Shared with me** tab, locate the Affinity provider
> 3. Find the share and click **Mount to catalog**
> 4. Enter a catalog name and click **Create**
>
> Once mounted, grant your team members access to the catalog following standard Unity Catalog
> privilege hierarchy. See Databricks' read shared data documentation for
> [AWS](https://docs.databricks.com/aws/en/opensharing/read-data-databricks),
> [Azure](https://learn.microsoft.com/en-us/azure/databricks/opensharing/read-data-databricks),
> and [GCP](https://docs.databricks.com/gcp/en/opensharing/read-data-databricks) for full
> details.
>
> > [!NOTE]
> >
> > See [Data Access](https://developer.affinity.co/pages/data-share/data_access.md) for important information about visibility
> > and access controls within the share.


## Related topics

- [Copilot](https://developer.affinity.co/pages/mcp/copilot.md)
- [OAuth Apps and MCP Clients (CIMD)](https://developer.affinity.co/pages/external-api-v2/oauth-apps.md)
- [Claude](https://developer.affinity.co/pages/mcp/claude.md)
- [Introduction](https://developer.affinity.co/pages/mcp/introduction.md)
- [Rate Limits](https://developer.affinity.co/pages/external-api-v2/rate-limits.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.