Faraday easily integrates with Google Cloud Storage, enabling you to embed AI-powered predictive analytics anywhere else in your stack. Discover your brand's bespoke personas, score your customers for churn risk, find repeat purchasers, and more, enabling you to confidently engage the right customers, at the right time, with personalized, relevant content. The best part? No code—and no PhD—required.
Make sure you have a Faraday account (signup is free!) and that it's not in test mode.
You'll need the following details to create your connection to GCS:
- Bucket name required
- Project ID required
Setting up your connection
First, you'll need to grant Faraday access to GCS.
CSV is a well-known format for transferring data in large batches. Faraday can accept files up to 5gb in size. If you have more than 5gb of data, we ask that you split it into multiple files.
Faraday's CSV support is based on folders. Each CSV in a folder should have the exact same structure. There should be no more than 5000 files in a single folder.
Google Cloud Storage (GCS) can be used to send and receive files. Access is shared using Google Cloud IAM permissions. We suggest that you create a Faraday-only bucket to both send and receive data. Within this bucket, Faraday would have full read and write access. Alternatively, you can give Faraday access to certain prefixes in a shared bucket.
Which IAM account (or both) depends on use of Targets and/or Datasets:
Give service account Storage Object Admin
If this is a shared bucket, limit access using to specific prefixes using an object prefix IAM Condition
Here is an example object prefix condition
Faraday suggests that you use an unguessable string somewhere in the path to your data. This avoids what is called the Confused deputy problem
For example, instead of naming an S3 bucket
s3://faraday-acme-pwiiprz162ez. This guarantees that
malicious actors cannot guess the name and request that Faraday import data
from it into their account. The same logic applies to any path that is used to
Creating your connection
Now you can connect Faraday to GCS.
- In the navigation sidebar, choose Connections.
- Click the New Connection button.
- Fill out the form
Wait briefly while Faraday establishes your connection. It shouldn't take long.
Your new connection is now ready to use!