---
title: Create an Anysphere Audit Logs connection
description: Learn how to create an Anysphere Audit Logs connection in Catalog Explorer that stores authentication details for Lakeflow Connect ingestion.
canonical_url: https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/anysphere-audit-logs-connection
---

# Create an Anysphere Audit Logs 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 Anysphere Audit Logs** from the **Previews** page. See [Manage Databricks previews](https://docs.databricks.com/aws/en/admin/workspace-settings/manage-previews.md).

Create an Anysphere Audit Logs 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 Anysphere Audit Logs 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/aws/en/ingestion/lakeflow-connect/anysphere-audit-logs-pipeline.md).

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

## Prerequisites

* A Anysphere (Cursor) **Team or Enterprise** plan with Admin API access enabled, and a **Anysphere (Cursor) team admin** who can create an Admin API Key. See [Configure Anysphere (Cursor)](https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/anysphere-audit-logs-source-setup.md#configure-anysphere).
* An Anysphere (Cursor) **Admin API Key**. Complete the [source setup](https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/anysphere-audit-logs-source-setup.md) before creating the connection.

## 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 **Connection name**.
3. In the **Connection type** drop-down menu, select **Anysphere Audit Logs**.
4. (Optional) Add a comment.
5. Click **Next**.
6. On the **Authentication** page, enter the following credential from [Configure authentication to Anysphere (Cursor)](https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/anysphere-audit-logs-source-setup.md):
   * **Admin API Key**: The Cursor Admin API key that authenticates to your Anysphere (Cursor) team.
7. Click **Create connection**.

## Next steps

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