<br />

> [!NOTE]
> **Public preview:** The federated search is in public preview. This feature is subject to the "Pre-GA Offerings Terms" in the [General Service Terms section of the Service Specific Terms](https://cloud.google.com/terms/service-terms). Pre-GA features are available "as is" and might have limited support. For more information, see the [launch stage descriptions](https://cloud.google.com/products#product-launch-stages).

<br />

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

## Create OAuth App

1. Sign in to your Shopify account.

2. Click your profile icon and select **Developer console**.

3. In the **Developer console** page, click **Apps**.

4. Click **Create app**.

5. In **Create an app** page, do the following:

   1. In the **App name** field, enter a label for your app.

   2. Click **Create**.

6. Navigate to the **Settings** tab within your app's dashboard.

7. In the **Credentials** section, copy and store your:

   - **Client ID:** Public identifier

   - **Client Secret:** Private key

## Set redirect URL and scopes

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

1. In the app page, in the navigation, click **Versions**.

   1. In the **Create a version** page, do the following:

      1. In the **Access** section, click **Select scopes**.

         | Scope | Purpose |
         |---|---|
         | `read_customers` | Retrieve customer profiles, contact info, and history. |
         | `write_customers` | Create or update customer profiles, contact info, and history. |
         | `read_orders` | View full order details (transactions, items, and status). |
         | `read_products` | View product and product variant information. |
         | `write_orders` | Create or update existing orders on your Shopify site. |
         | `read_fulfillments` | View fulfillments and fulfillment services. |
         | `read_assigned_fulfillment_orders` | View fulfillment orders, including their fulfillment order IDs. |
         | `write_assigned_fulfillment_orders` | Send a fulfillment request for an order on your Shopify site. |

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

      3. Click **Release**.

      4. In the confirmation dialog, enter a version label and click **Release**.

2. In the app page, in the navigation, click **Home**.

   1. In the app home page, click **Install app**.

   2. In the confirmation page, select your store.

   3. In the **Install app** page, review the access settings and click **Install**.