# Elastic APM Integration

This guide will walk you through the steps required to integrate Elastic APM with Oobeya.

***

## 1. Getting the Integration URL

**If You Are Connecting via HTTPS:**

* If you’re connecting via HTTPS, retrieve the base URL for Kibana directly from your browser. This URL is the address shown in the browser's address bar.

<figure><img src="https://3582076375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MGIlBSTjQtZxUoFwUx4%2Fuploads%2FAY3Sm0wURFdAQXGru8oI%2Fimage.png?alt=media&#x26;token=dc6197bc-b3d3-4bd2-9e54-f2181182ea45" alt=""><figcaption></figcaption></figure>

**If You Are Connecting via HTTP:**

* If you’re not using HTTPS, the URL structure would be:\
  `http://<Your_IP_or_Domain>:5601`\
  where `<Your_IP_or_Domain>` refers to the IP address or the Domain of the server running Kibana.

***

## 2. Getting the Integration Username and Password

* Use the same username and password that were entered on the screen to log into Oobeya.

<figure><img src="https://3582076375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MGIlBSTjQtZxUoFwUx4%2Fuploads%2F6RZi4KT3jaR41Nay6aTT%2Fimage.png?alt=media&#x26;token=9050cb5e-0f1b-432f-aa19-ca56c7650c97" alt=""><figcaption></figcaption></figure>

***

## 3. Install Elastic APM on Oobeya

1. **Log in to Oobeya** with an Administrator account.
2. Go to the **Integrations** section, select **Elastic APM**, and click the **Install** button.

<figure><img src="https://3582076375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MGIlBSTjQtZxUoFwUx4%2Fuploads%2FugdAJZ1KCGZCjB9Y2FJl%2Fimage.png?alt=media&#x26;token=772aafec-f79e-4419-b591-9b7d12f1204a" alt=""><figcaption><p>Oobeya Integrations</p></figcaption></figure>

***

## 4. Create Data Source and Test Connection

1. Go to the **Data Sources** section in Oobeya, and select **Elastic APM**.
2. **Create a new data source**:
   * Click on the **New Data Source** button.
   * Fill out the form using the URL, username, and password obtained in Step 1.
   * You can assign any name for the **Data Source Name** field.
3. **Test the connection**:
   * Click the **Test Connection** button to verify the connection with Elastic APM.

<figure><img src="https://3582076375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MGIlBSTjQtZxUoFwUx4%2Fuploads%2FehDRl38OpHclkWv8unne%2Fimage.png?alt=media&#x26;token=40a9c630-5da2-4bcd-9869-bf0d5c1e30f7" alt=""><figcaption><p>Data source connection</p></figcaption></figure>

***

## Ready to Connect :rocket:&#x20;

Your Oobeya instance is now connected to your Elastic APM account. You can begin diagnosing, fixing, and optimizing the performance of your code with Oobeya's analysis tools.

## **Next Steps** :dart:&#x20;

* [Add a new Widget](https://docs.oobeya.io/dashboards/adding-a-new-widget)
