Documentation
GuidesConnections

Connect to Google Cloud Storage

Create a Google Cloud Storage connection that uses Bobsled AI workload identity, choose its access mode, and grant it bucket access.

This page explains how to connect a Google Cloud Storage bucket to Bobsled AI. The connection uses Bobsled AI workload identity, so you store no credentials. Depending on its access mode, it can supply input files, receive output files, or both. For the steps that every provider shares, see Create and manage connections.

Before you begin

  • Get the role that creates connections.
  • Choose an access mode and an optional object prefix. For more information, see Storage access and testing.
  • Find a Google Cloud administrator who can run the generated setup command.
  • For write-enabled access, make sure that the administrator can create the test-cleanup role in the Google Cloud project that owns the bucket.
  • If setup uses conditional grants, turn on uniform bucket-level access on the bucket. Setup checks this setting and stops if it's off, but doesn't turn it on. Review the bucket setting separately before you change it.

Required permissions

The generated command grants the following permissions:

  • Whole-bucket read-only access: Storage Object Viewer.
  • Scoped or write-enabled access: Permissions for the selected mode and prefix.
  • Write-enabled access: Storage Object User within the saved prefix. Google Cloud needs its delete permission to replace a file, which a copy does when a source file changes.

Google Cloud listing permission applies to bucket metadata. Bobsled AI limits listing requests to the saved prefix and scopes the object-read grant to that prefix. Generated grants preserve existing policies. Review broader grants separately when you narrow access.

A connection set up earlier can add files but not replace them. To update it, in the connection's row, open More actions, select Setup IAM, and then run the commands again.

Create a Google Cloud Storage connection

To create a Google Cloud Storage connection, do the following:

  1. On the Connections page, click Add connection, and then select Google Cloud Storage.
  2. Enter a Display name.
  3. Enter the Bucket name and the Google Cloud Project ID.
  4. In Access, select an access mode.
  5. Optional: Enter a folder prefix in Object prefix (optional).
  6. Click Save connection. The dialog shows the generated administrator setup command.
  7. Ask a Google Cloud administrator to run the command.
  8. In the connection's row or details, click Test connection.

For the checks that each access mode runs, see Test storage access.

Set up a Partner's own bucket

A Partner's own Google Cloud Storage bucket, set up under Your bucket, has its own setup commands. The commands create two service accounts, a Partner landing writer and a Partner landing reader. They grant the writer Storage Object User on the bucket's folder.

A bucket set up earlier granted Storage Object Creator, which adds files but can't replace them. The commands keep existing grants, so the Partner's Google Cloud administrator can run them again. Bobsled AI shows the commands under View setup commands, and only while the bucket isn't Ready.

For a Ready bucket, the administrator can grant the writer Storage Object User on the bucket's folder. The grant uses the same condition as the writer's Storage Object Creator grant. A share link into the bucket writes through the bucket's writer account, so the link needs no commands of its own.

For the rest of the Partner setup, see Exchange data with Partners.

What's next

On this page