---
title: Configure authentication to Atlassian
description: Configure Atlassian to enable authentication from Databricks for the managed Atlassian Audit Logs connector in Lakeflow Connect.
canonical_url: https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/atlassian-audit-logs-source-setup
---

# Configure authentication to Atlassian

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

Configure Atlassian to enable authentication from Databricks for the Atlassian Audit Logs connector. Use the credentials from these steps to create a Unity Catalog connection in Databricks.

## <a id="prerequisites" />Prerequisites

* Requires an Atlassian Guard Standard, Atlassian Guard Premium, or Cloud Enterprise subscription. Without one of these, Atlassian doesn't populate the organization audit log. See [Atlassian's audit log activities documentation](https://support.atlassian.com/security-and-access-policies/docs/accessing-audit-log-activities/).
* Requires Organization admin permission to create the API key that authenticates the connector. See [Atlassian's Organizations REST API documentation](https://developer.atlassian.com/cloud/admin/organization/rest/intro/).

## <a id="configure-source" />Configure Atlassian

Atlassian authenticates admin API requests with an API key that the connector sends as a Bearer token. For more information, see [Atlassian's guide to managing an organization with the admin APIs](https://support.atlassian.com/organization-administration/docs/manage-an-organization-with-the-admin-apis/).

1. Sign in to [Atlassian Administration](https://admin.atlassian.com) as a user with Organization admin permission. Select your organization if you manage more than one.
2. Select **Organization settings**, then **API keys**.
3. Select **API keys with scopes**, then select **Create API key**.
4. Enter a **Name** for the key, and select an expiration date. Keys can't last longer than a year.
5. Select the `read:events:admin` scope (shown as **Read** for **Events**). This is the only scope the connector requires. See [Atlassian's Organizations REST API events documentation](https://developer.atlassian.com/cloud/admin/organization/rest/api-group-events/#api-v1-orgs-orgid-events-get).
6. Review the key, then select **Create**.
7. Copy the **Organization ID** and **API key**. Atlassian doesn't show these values again. Use them to create a Unity Catalog connection in Databricks.

> [!NOTE]
>
> Atlassian API keys expire after at most one year and don't renew automatically. Before the key expires, create a new organization API key and update the **API Key** on the existing Unity Catalog connection. Don't create a new connection.

## <a id="next-steps" />Next steps

Create a Atlassian Audit Logs connection in Databricks. See [Create an Atlassian Audit Logs connection](https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/atlassian-audit-logs-connection.md).
