## Datadog integration Datadog is a cloud monitoring and observability platform that provides metrics, logs, traces, and dashboards for your infrastructure and applications. This integration connects Datadog to Frontegg using an API Key and Application Key, enabling your AI agent to query metrics, monitors, dashboards, logs, incidents, and more. Prerequisites - A Datadog account with admin access - Permission to create API Keys and Application Keys under **Organisation Settings** ### Connect Datadog #### Step 1: Log in to Datadog Go to [app.datadoghq.com](https://app.datadoghq.com) and log in to your Datadog account. ![Datadog login page](/assets/datadog-1.0ee82bb73647d0cffa1ca35eb2dd884cf5bee375a50f3bd9041e0adf22454989.1ce25488.png) #### Step 2: Navigate to API Keys Open **Organisation Settings** from the top navigation and select **API Keys** from the left sidebar under **Access**. ![Datadog API Keys page](/assets/datadog-2.00b9739e68e6ee6c5e3020d00853cabcdcf5584813b4bc9ecb0f98c1ba7072ce.1ce25488.png) #### Step 3: Create a new API Key Click **+ New Key**, enter `Frontegg Integration` as the name, and click **Create Key**. ![Create new API Key dialog](/assets/datadog-3.6fa329895a780d50e4269008a4c428f24e464f07d613aee8c83046204e774fee.1ce25488.png) #### Step 4: Copy the API Key After the key is created, click **Copy** to copy the full API Key value. Save it — you will not be able to view the key again after closing this dialog. Copy the key now Datadog only shows the full API Key once, immediately after creation. Copy it before closing the dialog. ![Copy the API Key value](/assets/datadog-4.cc48872ec0b489fc29b3238abbdf802cd81a7756365b4d32973c9fed9814444e.1ce25488.png) #### Step 5: Navigate to Application Keys In the left sidebar under **Access**, click **Application Keys**. ![Datadog Application Keys page](/assets/datadog-5.d1b6f73e4284023cae85e7a02600c84796d1e47acc80df9cea50a0a15acdd857.1ce25488.png) #### Step 6: Create a new Application Key Click **+ New Key**, enter `Frontegg Integration` as the name, and click **Create Key**. ![Create new Application Key dialog](/assets/datadog-6.f4adbdf1c05ab2cf7d2ebcb0b10e1352d4312e402eb4533102a3883a344bd2e7.1ce25488.png) #### Step 7: Copy the Application Key After the key is created, click **Copy** to copy the full Application Key value. Save it — you will not be able to view the key again after closing this dialog. Copy the key now Datadog only shows the full Application Key once, immediately after creation. Copy it before closing the dialog. ![Copy the Application Key value](/assets/datadog-7.9a68a6d0b70a4ffe7bc64ad90207388b5ab3f82aa52ce217ca45b4b55270c3f2.1ce25488.png) ### Configure the Frontegg portal Once you have obtained your **API Key** and **Application Key** from the steps above, enter them in the integration configuration page of the Frontegg portal: 1. Open the **Frontegg portal** and navigate to **[ENVIRONMENT]** → **Integrations** → **Datadog**. 2. Enter the **API Key** in the **API Key** field. 3. Enter the **Application Key** in the **Application Key** field. 4. Click **Save**. Keep your credentials secure Never share or commit your API Key or Application Key to version control. ### Additional resources - [Datadog API documentation](https://docs.datadoghq.com/api/latest/) - [Datadog developer portal](https://app.datadoghq.com/organization-settings/api-keys) - [How to get your Redirect URL](/agen-for-work/connectors/redirect-url)