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

## Prerequisites

Before configuring the OAuth application or creating a data store, you must
request feature activation from LumApps.

Contact LumApps Support at `support@lumapps.com` and request the activation of
the MCP feature flag on your LumApps platform. If the MCP feature
flag is not activated, connection attempts fail with the following error:

    MCP Server is not activated for your organization. Please contact your administrator.

## Create OAuth app

To generate credentials for the OAuth client, perform the following steps:

1. Sign in to your LumApps back-office platform.

2. Go to **Provider Settings** \> **LumApps applications**.

3. Create a new application using **Authorization code** as the application
   type.

   ![Create a new LumApps application](https://docs.cloud.google.com/static/gemini/enterprise/docs/images/lumapps-images/create-lumapps-app.png)
4. When prompted for scopes, select `all.admin` to allow read and
   write access.

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

   ![Configure scopes and redirect URL for LumApps app](https://docs.cloud.google.com/static/gemini/enterprise/docs/images/lumapps-images/lumapps-app-settings.png)
6. Click **Save**.

7. Copy the generated **Client ID** and **Client secret** and store them
   securely for later use.