This page describes how to set up and configure an OAuth application before
creating the Compute Engine data store.

## Create OAuth app

Create an OAuth 2.0 application in Google Cloud with access to Compute Engine
APIs, and record the **Client ID** and **Client secret**. Configure the OAuth
application for your organization.

## Set redirect URL and scopes

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

1. Open the OAuth application settings page.

2. In the **Authorized redirect URIs** section, add:
   `https://vertexaisearch.cloud.google.com/oauth-redirect`

3. Select the following scopes:

   | Scope | Purpose |
   |---|---|
   | https://www.googleapis.com/auth/compute | Allows the app to view and manage your Compute Engine resources. |

4. Save your changes.