Set up a storage integration with GCP (Google Cloud Platform)
How to import assets in private buckets on AWS S3 for labeling on Ango Hub
Last updated
How to import assets in private buckets on AWS S3 for labeling on Ango Hub
Last updated
Administrators and project managers can import assets to Ango Hub from GCP private buckets.
Once you have created a storage integration by following the steps in this page, you are ready to import files by providing Ango Hub with URLs to files in your private buckets. You may follow the steps in this page to do so: Importing Cloud (Remote) Assets
The CORS header below allows Ango Hub to send a request to your cloud storage, and allows your cloud storage to explicitly allow requests from Hub. This is a necessary step to ensure Hub can connect to your private bucket.
The steps to follow to set up CORS with Ango Hub can be found here.
Once you've set up CORS for your bucket, you will need to create a connection between Hub and the bucket itself.
To link your bucket to Hub, you will need a JSON obtained from the GCP dashboard called Service Account Key. Here are the instructions on how to obtain the necessary Service Account Key JSON from your GCP console.
Once you have downloaded the JSON, go to your organization's page, then click on Integrations and Add Integration.
From the dialog that pops up, pick GCP as the provider and drag and drop the Service Account Key JSON you've just downloaded.
After clicking OK, your bucket will be linked to Hub, and it will show up in your list of integrations.
Integrations belong to your organization, not your user.
If you want to be able to access your non-public cloud data in multiple organizations, you will have to integrate Hub with GCP in every one of them.
After connecting your bucket, you will need to prepare a JSON file containing each asset’s external ID as well as the asset's full absolute path and, optionally, other information.
Follow the steps outlined in the docs page on Importing Cloud (Remote) Assets.