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

# Create a Meta Ads connection

Create a Meta Ads 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 Meta Ads 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 [Create an ingestion pipeline](https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/meta-ads-pipeline.md).

Alternatively, admin users can create a connection and a pipeline at the same time in the data ingestion UI. See [Create an ingestion pipeline](https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/meta-ads-pipeline.md). For privilege requirements, see [Connect to managed ingestion sources](https://docs.databricks.com/gcp/en/connect/managed-ingestion.md).

## Prerequisites

Complete the [source setup](https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/meta-ads-source-setup.md).

## Create a connection

The Meta Ads connector uses a Databricks-managed OAuth app, so you authenticate by signing in with your Meta account. You don't enter an App ID or App Secret.

1. In Catalog Explorer, click **Add** and select **Create a connection**.
2. In the **Connection type** drop-down menu, select **Meta Ads**.
3. Enter a name for the connection.
4. Click **Sign in with Meta Ads**.
5. In the Meta authentication window, sign in with your Meta account and grant the requested permissions.
6. After authentication succeeds, the connection is created.

> [!WARNING]
>
> Only share this connection with other Databricks users if you authenticated with a shared service account in the previous step. If you authenticated with a personal Meta account, don't share the connection. Sharing a personal-account connection grants other users access to your account's credentials and data.

## Next steps

[Create an ingestion pipeline](https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/meta-ads-pipeline.md).
