# OpenAPI

The OpenAPI Specification (OAS) serves as a reliable framework for transferring data across all phases of an API's development and implementation. This specific language is tailored for HTTP APIs, outlining the format and organization without being confined to the programming language used to build the API.

## Prerequisites

* Get OpenAPI connection parameters from the datasource owner.

## Connect to OpenAPI

Create a new data source in two ways. Note that this permission is restricted to workspace admins and developers.

<figure><img src="https://125370873-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzdpN2Lz0hzXpnNScDzVt%2Fuploads%2FlJC2IaWauzBWYT4VfB3b%2FConnectNewDataSourceOverview.gif?alt=media&#x26;token=ca3457ee-1e49-4e1c-b001-d4473e50f8f8" alt=""><figcaption></figcaption></figure>

Select **APIs** > **OpenAPI** as the data source type.

<figure><img src="https://125370873-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzdpN2Lz0hzXpnNScDzVt%2Fuploads%2FpYQvsfluSo6PPrnB5g8N%2Fimage.png?alt=media&#x26;token=f3a10ee2-812b-4465-8d2b-fdd0885a7f5d" alt=""><figcaption></figcaption></figure>

Set the details with the connection parameter fetched from the datasource owner.

<figure><img src="https://125370873-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzdpN2Lz0hzXpnNScDzVt%2Fuploads%2FRdYDS1Gled0WdsLuFCrL%2Fimage.png?alt=media&#x26;token=619003b2-cd6f-440f-8b9c-31d5c334c489" alt=""><figcaption></figcaption></figure>

(Optional) Click **Test connection** to check whether the API is successfully connected.

Click **Save**, and it will be saved to your data source library.
