This page describes how to set up and configure a third-party application before
creating the PagerDuty data store.

## Create OAuth app

1. Sign in to your PagerDuty account as an Admin or Account Owner.

2. In the top navigation bar, go to **Integrations**.

3. Under **Developer Tools** , click **App Registration**.

4. Click **+ New App** (or **Create New App**).

5. Enter an **App Name** and a brief **Description**.

6. Under **Functionality** , select **OAuth 2.0**.

7. Click **Next** or proceed to configure the OAuth settings.

8. Copy the **Client ID** and **Client Secret** immediately, and store them
   securely for later use. The Client Secret will only be displayed once.

## Set redirect URL and scopes

After creating the OAuth app, configure its redirect URL and scopes:

1. In the **App Registration** page, click the app that you created in the previous
   section.

2. Open the OAuth application page.

3. Set the redirect URL:

   - In the **Redirect URL** field, enter `https://vertexaisearch.cloud.google.com/oauth-redirect`.
4. Select the following scopes:

   <br />

   | Scope | Purpose |
   |---|---|
   | read | Grants read access to PagerDuty resources like incidents, services, and users. |
   | write | Grants write access to PagerDuty resources, allowing creation and modification of incidents, services, and users. |

   <br />

5. Save your changes.