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

## Create OAuth app

To connect Gemini Enterprise to Finnhub, you must create an OAuth
application in your Finnhub account to obtain a **Client ID** and
**Client secret**.

1. Sign in to your Finnhub account.

2. Navigate to the developer portal to create or manage applications.

3. Create a new application.

4. Copy the **Client ID** and **Client secret**, and store them securely for
   later use.

## Set redirect URL and scopes

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

1. In the application settings, enter the redirect URL:
   `https://vertexaisearch.cloud.google.com/oauth-redirect`.

2. Ensure the following scope is enabled for your application:

   | Scope | Purpose |
   |---|---|
   | mcp:read | Allows read access to Finnhub financial data. |

3. Save the configuration.