---
title: Configure authentication to Square
description: Configure Square to enable authentication from Databricks for the managed Square connector in Lakeflow Connect.
canonical_url: https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/square-source-setup
---

# Configure authentication to Square

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

This page shows how to configure Square to enable authentication from Databricks for the Square connector. Use the credentials retrieved from the steps on this page to create a Unity Catalog connection in Databricks.

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

* A Square account. The Square APIs are free for developers to use, and no Square subscription plan tier is required. See the [Square API overview](https://developer.squareup.com/us/en/online-payment-apis).
* A Square access token authorized for the read permissions that the connector requires. For the full list of permissions per table, see [Required OAuth permissions](https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/square-reference.md#required-scopes).

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

The Square connector authenticates with a Square access token. In this step, get a Production access token from the Square Developer Console and note it for the connection page. For more information, see the [Square access tokens](https://developer.squareup.com/docs/build-basics/access-tokens) reference.

1. Sign in to the [Square Developer Console](https://developer.squareup.com/apps).
2. Select an existing application, or create an application.
3. In the left pane, select **Credentials**.
4. At the top of the page, select **Production**.
5. In the **Production Access token** box, click **Show**, then copy the token. Use this token to create a Unity Catalog connection in Databricks.

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

Create a Square connection in Databricks. See [Create a Square connection](https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/square-connection.md).
