GCP Cloud Setup

To complete the "Connect to Your Cloud Account" step in the deX platform, you'll need to configure a few resources in your GCP console. Once this is complete, you’ll receive a Service Account JSON key to use within dex.

Create a GCP Project for dex

  1. Open the Google Cloud Console.

  2. Click New Project.

  3. Fill in the required fields:

    • Name your project something like your-org-lakehouse

    • Choose a Location with your SRE or infra team for optimal cost/performance

  4. Click Create

Tip: In production, you may want separate projects for dev and prod. For this quickstart, one is enough.

Creating a New Project on Google Cloud Console

Create Cloud Credentials

dex needs specific GCP permissions to operate. We’ve made this easy with a setup script.

For reference, these are the permissions dex needs (generated by the setup script). You can read the full list of permissions and what they do here.

Set Up GCP Credentials with Cloud Shell

To configure access between dex and BigQuery, follow these steps using Google Cloud Shell:

1. Open the GCP Console

2. In the top bar, click on the project selector and choose the project you created or reserved for dex.

3. Launch Cloud Shell Editor - Use the search bar at the top of the page to search for Cloud Shell Editor and click to open it.

4. Inside the Cloud Shell Editor, click the "Open Terminal" button near the top of the screen.

5. Paste the following command into the terminal to download the setup script:

6. Set your GCP project ID in the shell environment

7. Execute the setup script

8. Download your Service Account Key

After running the script, you’ll receive a Service Account JSON key on the screen

Download and store this key securely — you’ll need it when connecting dex to BigQuery.

Last updated

Was this helpful?