# OpenAPI

{% hint style="success" %}
We support Open API *version 3* and *later* versions.
{% endhint %}

## Configuration

### Connecting the data source

To connect to the Open API spec, follow these steps:

1. On the **Data sources** page, click **Connect**, and select *OpenAPI* in the Data sources list.
2. Give your data source a name and provide the **Specification URL**.
3. To authenticate, you may need to specify the *URL header* or select the required method in the **Authentication settings** dropdown.

{% hint style="info" %}
More about available authentication options [here](https://docs.uibakery.io/reference/data-sources/http/api-authentication).
{% endhint %}

4. Click **Test connection** to check whether the data source can be connected, and then click **Connect Datasource** to complete the setup.

<figure><img src="https://837703843-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUX6zPRMFFK0yrTghj7cY%2Fuploads%2FQFnZsKDqCfD8hqoWtdkA%2FCleanShot%202025-04-23%20at%2012.13.27%402x-min.png?alt=media&#x26;token=fae51c24-9e79-411f-baf1-8cc8b61529a6" alt=""><figcaption></figcaption></figure>

## Usage

Once you've established the connection between UI Bakery and OpenAPI, you can start interacting with its data. For this purpose, you can use the [Open API Request](https://docs.uibakery.io/reference/working-with-actions/open-api-request) action type.
