## AppDynamics integration AppDynamics is an application performance monitoring and observability platform. Integrating AppDynamics with Frontegg allows your application to monitor applications, query metrics, and access performance data on behalf of your users using OAuth 2.0 Client Credentials. Prerequisites - An [AppDynamics](https://www.appdynamics.com/) SaaS or on-premises controller - Account Owner or Administrator role in your AppDynamics controller ### Connect AppDynamics #### Step 1: Open the controller settings Navigate to your AppDynamics controller URL (for example, `https://your-account.saas.appdynamics.com/controller`) and sign in. In the top-right corner, click your user avatar to open the account menu, then click **Administration**. ![AppDynamics controller home with user menu open showing Administration option](/assets/appdynamics-1.2cd21bf4ae377c1e6c1a8516527170cc35ccd422278b359209a119eba67667c0.1ce25488.png) #### Step 2: Open the API Clients tab On the **Administration** page, click the **API Clients** tab. This lists all existing API clients for your controller. Click **Create** to add a new one. ![AppDynamics Administration page with API Clients tab selected and Create button highlighted](/assets/appdynamics-2.6d7bddd78fc6cd99ff41d2fbb4f27c4a56eb4152912028561748b0754c030918.1ce25488.png) #### Step 3: Review the Create API client form The **Create API client** form appears on the right. It lets you configure the client name, description, secret, token expiration, and roles. ![AppDynamics Create API client form with empty fields](/assets/appdynamics-3.76ed2e798b2afce38c84e62c1cb7c8839b7026b8237c079b1c8bcb6d6035784d.1ce25488.png) #### Step 4: Fill in the client details and generate a secret Complete the form with the following values: - **Client Name** — Enter a descriptive name, for example `Frontegg Integration`. - **Description** — Optionally enter a description such as `OAuth API client for Frontegg integration`. - **Client Secret** — Click **Generate Secret**. AppDynamics generates a UUID as the client secret. Click **Save** to create the client. Copy your Client Secret now The Client Secret is only visible immediately after generation. Copy it before navigating away. If you lose it, click **Generate Secret** again to create a new one — this invalidates the previous secret. ![AppDynamics Create API client form filled in with Frontegg Integration name and blurred Client Secret](/assets/appdynamics-4.719eba06b364ab794f08c54d6b38021afb22cec4b9672dc87ac0139304672401.1ce25488.png) #### Step 5: Note your credentials After saving, the **Frontegg Integration** client appears in the API Clients list. Your credentials are: - **Client ID** — Constructed as `{clientName}@{accountName}`. The account name is the subdomain of your controller URL. For example, if your controller URL is `https://mycompany.saas.appdynamics.com`, your Client ID is `Frontegg Integration@mycompany`. - **Client Secret** — The UUID generated in the previous step. ![AppDynamics API Clients list showing Frontegg Integration client saved](/assets/appdynamics-5.41cfdd821a1397b33ecb1b89fc62c5e9df9abf452f2cffb4a15b766f98f47d69.1ce25488.png) ### Configure the Frontegg portal Once you have your **Client ID**, **Client Secret**, and **controller host**, configure the integration in the Frontegg portal: 1. Open the **Frontegg portal** and navigate to [ENVIRONMENT] → Integrations → AppDynamics. 2. Enter the **Client ID** in the format `{clientName}@{accountName}` (for example, `Frontegg Integration@mycompany`). 3. Enter the **Client Secret**. 4. Enter your **AppDynamics controller host** — the hostname only (for example, `mycompany.saas.appdynamics.com`). Do not include `https://` or a trailing slash. 5. Click **Save**. Keep your credentials secure Never share or commit your Client Secret to version control. ### Additional resources - [AppDynamics API Clients documentation](https://docs.appdynamics.com/appd/23.x/latest/en/extend-appdynamics/appdynamics-apis/api-clients) - [AppDynamics REST API reference](https://docs.appdynamics.com/appd/23.x/latest/en/extend-appdynamics/appdynamics-apis) - [How to get your Redirect URL](/agen-for-work/connectors/redirect-url)