---
title: Configure authentication to Anysphere (Cursor)
description: Learn how to configure Anysphere (Cursor) to enable authentication from Databricks.
canonical_url: https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/anysphere-audit-logs-source-setup
---

# Configure authentication to Anysphere (Cursor)

> [!NOTE]
> **Beta**
>
> This feature is in [Beta](https://docs.databricks.com/gcp/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/gcp/en/admin/workspace-settings/manage-previews.md).

Learn how to configure Anysphere (Cursor) to enable authentication from Databricks.

## Prerequisites

* A Anysphere (Cursor) **Team or Enterprise** plan with Admin API access enabled.
* A **Anysphere (Cursor) team admin** who can create an Admin API key. The connector authenticates with an Admin API Key created in the Cursor dashboard. The Admin API is available only to Team and Enterprise plan customers.

## <a id="configure-anysphere" />Configure Anysphere (Cursor)

In this step, you create an Anysphere (Cursor) Admin API Key. For more information, see [Anysphere: Admin API](https://cursor.com/docs/account/teams/admin-api).

To create the key:

1. Sign in to the [Cursor dashboard](https://cursor.com/dashboard) as a **team admin**.
2. Go to **Settings > Cursor Admin API Keys** (or **API Keys** depending on your plan).
3. Click **Create key** and give it a descriptive name.
4. Click **Create**, then copy the generated **Admin API Key** (`crsr_...`). Store it securely — Anysphere (Cursor) shows the full key only once.

For details on the Cursor Admin API and available endpoints, see [Anysphere: Admin API](https://cursor.com/docs/account/teams/admin-api) and [Anysphere: API Overview](https://cursor.com/docs/api).

## Next steps

After configuring Anysphere (Cursor), create a connection in Databricks. See [Create an Anysphere Audit Logs connection](https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/anysphere-audit-logs-connection.md).
