# Elasticsearch

Elasticsearch is a highly scalable and distributed search and analytics engine designed to perform fast and complex searches on large volumes of data.

## Prerequisites

* Get Elasticsearch database connection parameters from the database owner.

## Connect to Elasticsearch data source

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%2FPdaoinTMNWnMu4aQT5qQ%2FConnectNewDataSourceOverview.gif?alt=media&#x26;token=d469b30a-785d-42ad-8595-692388c11ce6" alt=""><figcaption></figcaption></figure>

Select **Database** > **Elasticsearch** 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%2Foz5BSlDf2307NmKLUeMN%2Fimage.png?alt=media&#x26;token=ac69cd70-ef1d-413b-a366-87efd6e8ce92" alt=""><figcaption></figcaption></figure>

Set its name and service account.

<figure><img src="https://125370873-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzdpN2Lz0hzXpnNScDzVt%2Fuploads%2FeUOHCXNoQesbXACOLxVX%2Fimage.png?alt=media&#x26;token=8e32015d-31bd-4b24-ba69-c1703a781e4f" alt=""><figcaption></figcaption></figure>

(Optional) Click **Test connection** to check whether the new data source is successfully connected.

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