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

# Create a Kafka connection

> [!NOTE]
> **Beta**
>
> This feature is in [Beta](https://docs.databricks.com/aws/en/release-notes/release-types.md). To use it, a workspace admin must turn on **Lakeflow Connect for Kafka** from the **Previews** page. See [Manage Databricks previews](https://docs.databricks.com/aws/en/admin/workspace-settings/manage-previews.md).

Create a Kafka 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 Kafka ingestion pipelines without needing direct access to the credentials.

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

## Create a connection

1. In the Databricks workspace, click **![Data icon.](https://docs.databricks.com/aws/en/images/product-icons/DataIcon.svg) Catalog > Create > Create a connection**.

2. On the **Connection basics** page of the **Set up connection** wizard, specify a unique **Connection name**.

3. In the **Connection type** drop-down menu, select **Kafka**.

4. In the **Auth type** drop-down menu, select either **Username and Password** or **Service Credential**. For instructions, see

   [Authentication for Kafka](https://docs.databricks.com/aws/en/connect/streaming/kafka/authentication.md).

5. (Optional) Add a comment.

6. (Username and Password) Enter the user identity and password of the Kafka cluster.

7. (Service Credential) Select your service credential from the drop-down or click **Create new service credential**. Enter the bootstrap servers of the Kafka cluster.

8. (Optional) Enter the URL, API key, and API secret for your schema registry.

9. Click **Create connection**.

## Next steps

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