To integrate Google Cloud Platform (GCP) with Optimove’s Data Ingestion feature, you will need two details:
- API Key
- Bucket Name
Follow these steps to connect:
Step 1: Generate Your API Key
1.1 Access Service Accounts in GCP
- Go to the Google Cloud Platform Console and navigate to Service Accounts where you will see all your service accounts.
- Create a new service account by clicking the "Create" button.
1.2 Create a Service Account with the Role "Storage Object Viewer"
- Set the role for this account as Storage Object Viewer, this role allows access to the GCP storage you’ll be connecting with Optimove.
- Under the "Grant this Service account" stage, assign the Storage Object Viewer role to the account and click 'done'.
1.3 Generate a JSON Key
- Once the service account is created, go to the Keys tab and click Add Key to generate a JSON Key.
- Download and save the JSON key, as it won’t be available for download again from the GCP interface.
1.4 Convert the JSON Key to Base64
- To use the JSON key as an API key, you’ll need to convert it into BASE64 encoding. You can use online tools or other encoding services to do this.
- Once encoded, this BASE64 string will serve as your API Key. Use this key in the Data Ingestion GCP data source connection step.
Step 2: Retrieve Your Bucket Name
2.1 Find and Copy Your GCP Bucket Name
- In GCP, search for "Buckets" or navigate to Cloud Storage. Select the bucket you’ll be using and copy its name.
- The Bucket Name is essential for identifying where your data is stored.
Step 3: Use API Key and Bucket Name in Optimove
- Once you have your API Key (BASE64 encoded) and Bucket Name, input these into Optimove’s Data Ingestion setup to establish the connection to GCP.
- Ensure the GCP bucket contains files, as it cannot be empty for a successful connection.
Please Note:While GCP may allow deeper nested folder structures, our implementation supports only up to two levels.