---
title: Create a Salesforce Marketing Cloud connection
description: Learn how to create a Salesforce Marketing Cloud connection in Catalog Explorer that stores authentication details for Lakeflow Connect ingestion.
canonical_url: https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/sfmc-connection
---

# Create a Salesforce Marketing Cloud connection

Create a Salesforce Marketing Cloud connection in Catalog Explorer to store authentication credentials for Lakeflow Connect ingestion. Any user with the `USE CONNECTION` privilege on the connection can then create Salesforce Marketing Cloud ingestion pipelines without needing direct access to the credentials.

Alternatively, admin users can create a connection and a pipeline at the same time in the data ingestion UI. See [Ingest data from Salesforce Marketing Cloud](https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/sfmc-pipeline.md).

For privilege requirements, see [Connect to managed ingestion sources](https://docs.databricks.com/gcp/en/connect/managed-ingestion.md).

## Prerequisites

Complete [Configure OAuth for Salesforce Marketing Cloud ingestion into Databricks](https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/sfmc-source-setup.md). Use the authentication details you obtain to create the connection.

## Create a connection

1. In the Databricks workspace, click **![Data icon.](https://docs.databricks.com/gcp/en/images/product-icons/DataIcon.svg) Catalog > Create > Create a connection**.
2. On the **Connection basics** page of the **Set up connection** wizard, enter a unique **Connection name**.
3. In the **Connection type** drop-down menu, select **Salesforce Marketing Cloud**.
4. (Optional) Add a comment.
5. Click **Next**.
6. On the **Authentication** page, enter the following credentials from the source setup:
   * **Subdomain**: The 28-character subdomain for your Marketing Cloud instance, starting with `mc`.
   * **Marketing ID**: The Marketing ID (MID).
   * **Client ID**: The client ID from the API Integration Package.
   * **Client Secret**: The client secret from the API Integration Package.
7. Click **Create connection**.

> [!NOTE]
>
> Salesforce Marketing Cloud client secrets for API integrations expire 180 days after they're generated. When the client secret expires, the connection can no longer authenticate to the source and ingestion pipelines fail. Rotate the secret in Salesforce Marketing Cloud and re-authenticate the UC connection with the new secret. See [Expired client secret](https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/sfmc-troubleshoot.md#expired-client-secret).

## Next steps

[Ingest data from Salesforce Marketing Cloud](https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/sfmc-pipeline.md).
