# Lambda

Lambda is a cloud computing service that executes your code on a top-notch compute infrastructure, taking care of all the management tasks related to the computing resources. This includes handling server and operating system maintenance, provisioning capacity, automatically adjusting to scale, and keeping track of logs. By utilizing Lambda, you only have to provide your code in one of the supported language runtimes, leaving the rest of the management responsibilities to the service.

## Prerequisites

* Get Lambda API connection parameters from the datasource owner.

## Connect to Lambda API

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%2FIQTwzEDnAXTSHAsdR0TD%2FConnectNewDataSourceOverview.gif?alt=media&#x26;token=3eb35c6b-d685-442c-9f5e-c06fad74a422" alt=""><figcaption></figcaption></figure>

Select **APIs** > **Lambda** 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%2FHNXN5CYuQkGXvLCWGl1X%2Fimage.png?alt=media&#x26;token=030945c0-9904-4889-b4c7-0832d4fb99e2" 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%2FsFSCm4kliS44h9xWrgDh%2Fimage.png?alt=media&#x26;token=4f67a06d-dfb0-4e3b-8266-eb20a6b586fe" 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.
