Before you begin
- Permission to create service accounts and service account keys in the Google Cloud project that holds your bucket.
- Permission to grant IAM roles on the bucket.
- Permission to add data connections in Datafold.
Set up Google Cloud Storage
1
Create a service account
- In the Google Cloud console, select the project you want to connect from the project picker next to the search bar. If you don’t see the project, you may need to switch accounts.
- Go to IAM & Admin → Service Accounts.
- Create a service account named
datafold.
2
Grant access to your bucket
In Cloud Storage → Buckets, open the bucket, go to the Permissions tab and grant the
datafold service account the Storage Object Admin role on the bucket. Granting it on the bucket rather than the project limits Datafold to this bucket. If Datafold only reads files, Storage Object Viewer is enough.3
Create a service account key
- In IAM & Admin → Service Accounts, click the
datafoldservice account. - Open the Keys tab and click Add Key → Create new key.
- Select JSON and click Create. The key file downloads to your computer.
Network access
If your Google Cloud project only accepts connections from allowlisted IP addresses or is only reachable over a private network, see Securing connections for the options Datafold supports.Add the connection in Datafold
Go to Settings → Integrations → Data Connections, click Add new integration and choose Google Cloud Storage.
Click Save.
