Google Cloud Storage Source
MorphL makes it easy to import data from Google Cloud Storage.
A common use case is predicting user search intent for a list of keywords, which can be uploaded in csv format in a Google Cloud Storage bucket.
This tutorial uses the Google Cloud Console to:
- Create a Google Cloud Storage bucket
- Create a service account
Google Cloud Platform account
This source requires a GCP account with access to Google Cloud Storage.
Keywords lists in CSV format
A csv file can contain one keyword (search query) per line.
Setting up access to Google Cloud Storage
Please access your Google Cloud Console and follow the below steps.
Google Cloud Storage bucket
A new GCS bucket must be created. From Google Cloud Console > Storage, create a new bucket with default settings and upload your csv files with keywords here:
A new Google Cloud service account must be created with the following permissions: Storage Object Viewer.
- From Google Cloud Console, go to the IAM & Admin > Service Accounts section.
Click the +CREATE SERVICE ACCOUNT button.
Add a name and description for your service account and click the CREATE button.
Select the Storage Object Viewer role.
Add a condition on the Storage Object Viewer role to allow access only to the bucket you have created at step 1. Please note that the bucket name must be prefixed with projects/_/buckets/, see this guide for details.
In the final step, press the CREATE KEY button.
Keep the default JSON format and press the CREATE button. Your key file will be downloaded automatically.
Add data source in the MorphL dashboard
- Log in to your MorphL account.
- From the left side menu, go to Data Sources.
Select Google Cloud Console and activate it.
Enter the Google Cloud Storage bucket name.
Upload your service account key file.
Verify your settings.