Skip to main content
Storage Admin or Owner role on the target Google Cloud project is required to complete this setup.

Create a Google Cloud OAuth client

Set up a Google Cloud project with the Cloud Storage API enabled and an OAuth client for StackOne.

1

Create or select a project

Sign in to your Google Cloud Console, then open the project picker at the top of the page.

  • New project: Click New project, fill in Project name, Organization and Parent resource, then click Create. Select the new project in the project picker.
  • Existing project: Select it in the project picker.
2

Enable the Cloud Storage API

Open APIs & Services > Library.

  • Search for Cloud Storage API.
  • Click Cloud Storage API.
  • Click Enable. If it shows Manage, it’s already enabled.
3

Enter the app information

Open APIs & Services > OAuth consent screen to open the Google Auth Platform dashboard.

  • Click Get started. If the OAuth Overview page opens instead, open Branding from the sidebar.
  • App name: A name that identifies this integration
  • User support email: Email address for user inquiries
  • Click Next.
4

Select the audience

Choose the user type for your application.

  • Internal: Only users within your Google Workspace organization can authorize (no app verification required)
  • External: Any Google account can authorize (requires app verification for production use)
  • Click Next.
5

Enter contact information

Google sends notices about changes to your project to these addresses. If you opened Branding, the field is under Developer contact information on the same page.

  • Email addresses: Email addresses for project notices
  • Click Next.
6

Accept the user data policy

Review your settings.

  • Agree to the Google API Services User Data Policy.
  • Click Create.
7

Add the scopes

Enables actions: Compose Objects, Copy Object, Create HMAC Key, Delete Bucket, Delete HMAC Key, Delete Notification, Delete Object, Get Bucket, Get Bucket ACL, Get Bucket IAM Policy, Get Default Object ACL, Get HMAC Key, Get Notification, Get Object, Get Object ACL, Get Service Account, Insert Bucket, Insert Notification, List Bucket ACLs, List Buckets, List Default Object ACLs, List HMAC Keys, List Notifications, List Object ACLs, List Objects, Set Bucket IAM Policy, Test Auth, Test Bucket IAM Permissions, Update Bucket, Update HMAC Key

In Google Auth Platform, open Data Access.

  • Click Add or Remove Scopes.
  • Under Manually add scopes in the Update selected scopes side panel, paste each scope listed.
  • Click Add to table.
  • Click Update.
  • On the Data Access page, click Save.
8

Create the OAuth client

Open APIs & Services > Credentials.

  • Click Create credentials.
  • Select OAuth client ID.
  • Application type: Web application
  • Name: StackOne Cloud Storage Integration
  • Under Authorized redirect URIs, click Add URI.
  • Enter the Callback URL from your Connector Profile.
  • Click Create.
9

Copy the Client ID and Client Secret

In the dialog that opens, copy the Client ID and Client Secret into your Connector Profile.

Exempt the app from session control

Google Workspace administrators can enforce a Google Cloud session control window of 1 to 24 hours on Google Cloud OAuth scopes, which requires interactive re-authentication.

  • Never expires: In the Google Admin console, open Security > Access and data control > Google Cloud session control and select Session never expires.
  • Trusted app: In the Google Admin console, add this OAuth app to the trusted (exempted) apps list.

Set the GCP Project ID and Bucket ID

The GCP Project ID is the Google Cloud project that actions run against by default, and the Bucket ID is the bucket that bucket actions use by default.

Actions that take a project or bucket parameter override these values, so they are only defaults. If your company works across several Google Cloud projects or buckets, either pass the value on the action or create one Connector Profile per project.

1

Copy the GCP Project ID

Sign in to the Google Cloud Console, then open the project picker in the top navigation bar. The GCP Project ID is the project ID, not the project name or number.

  • Copy the value in the ID column for your project to GCP Project ID in your Connector Profile.
  • The Project info card on the Console Dashboard also shows the project ID.
Google Cloud Console with the project picker highlighted in the top navigation bar and the ID column of the selected project highlighted in the Select a resource dialog.
2

Copy the Bucket ID

With the same project selected, open Cloud Storage > Buckets. The Bucket ID is the name of the bucket.

  • Copy the value in the Name column for the bucket you want to connect to Bucket ID in your Connector Profile, without a gs:// prefix.

Create the StackOne Connector Profile

1

Create a Connector Profile

Enable the connector and create a Connector Profile in your project. See Setup Connector Profile.
2

Link an Account

Once the Connector Profile is created, continue to link an account.