Import products from Google Cloud Storage

Google Cloud Platform (GCP) is a suite of cloud computing services that provides infrastructure for storing and managing data. You can seamlessly import product catalogues from your Google Cloud storage and keep them updated automatically.


Please note that downloading your files from Google Cloud Storage may incur network egress fees charged by Google, depending on the size and frequency of the transfers. More information on the official pricing: Google Cloud Storage Pricing.

Google Cloud Storage can be used as a main or an additional source.

How to add a catalogue from Google Cloud Platform (GCP) in Lengow?

Adding a new catalogue

  1. In the Catalogue tab, click on “Add a new catalogue”.

  2. Select Google cloud storage.

  3. Connect GCP to Lengow following the next step.

GCP1.png

Configuring the GCP connection

Go to the next step if you have a Google service account.

If you don’t already have one, create a Google service account 

1. Open your Google cloud console.

2. Navigate to "IAM & admin" > "Service accounts".

3. Click "create service account" at the top.

4. Enter a unique name for the service account, then click "create and continue".

5. Assign the following roles to the service account:

  • Monitoring viewer
  • Compute viewer
  • Cloud asset viewer
  • Browser

6. Click "continue", then "done" to complete the creation of the service account.

google service account.png


Add Lengow principal to your Google service account

If you have not yet generated a "Lengow principal" for your organization:

  1. In Lengow, once you have selected "Google cloud storage" as a source, click the "generate principal" button.

  2. Copy the generated "Lengow principal" and keep it for the next steps.

lengow principal.png


Grant access in Google Cloud Console

  1. In Google Cloud Console, navigate to "IAM & admin" > "Service accounts".

    GCP2.png

  2. Select the service account from the list.

    GCP3.png

  3. Go to the "Permissions" tab and click "Grant access".

    GCP4.png

  4. Paste your "Lengow principal" into the "New principals" text box.

  5. Assign the role "Service account token creator" and click Save.

GCP5.png

Grant Access to the Bucket

In addition to configuring the "service account" and assigning the "service account token creator role" to Lengow:

  1. In Google cloud console, navigate to "Storage".
  2. In the "bucket" section, select the bucket where your catalogue file is stored.
  3. Open the "Permissions tab" of the bucket.
  4. Click on "Grant access".
  5. Enter the email of your client service account. The email is found in the "Service account" tab.
    This is the one you will also have to provide in Lengow.
  6. Select the role "Storage object viewer".
  7. Save the changes.

Completing the integration setup in Lengow

  1. In Google Cloud Console, go to "Service account" > "Details".
    Copy the email associated with the Google service account (e.g.,<sa-name>@<project-id>.iam.gserviceaccount.com). 

  2. Paste this email into Lengow in the "Add service account email" section (as shown in the image below).

  3. Then, add the file path of your GCP catalogue.
    In your
    Google cloud console, navigate to cloud storage. In the bucket tab bucket, copy the gsutil URL.

    GCP6.png

  4. Paste the gsutil URL into your Lengow account.

GCP7.png

Note: If you need to transfer your catalogue to GCP, please contact your Lengow support for assistance.

Adding a second GCP catalogue in Lengow

To add an additional catalogue from GCP:

  1. In the catalogue tab, click on add a new catalogue”. The name of the second file must be different and should be placed in a different "bucket".

  2. Select Google clous storage source.

  3. Since the Lengow principal is already generated, you do not need to create a new one.

  4. Use the same Google service account email as the first catalogue.

  5. Enter the file path of the new catalogue in Lengow.

  6. Confirm the setup and finalize the integration.

 

-

Articles in this section

News, Services & Incident reports
Discover updates, webinars, and expert services to help you get the most from Lengow