Skip to main content

Step 3: Create a Workspace

Before creating a Workspace, you should make sure you have a Project created with version control. You can choose from username and password or OAuth.

A Workspace is a sandbox environment where you can complete the development of your data, refine, and perform preliminary validation before merging them into the codebase. When creating a Workspace, you'll add your Storage Locations, Git URL, and connect to your data platform.

Workspace Best Practices

info

Before you begin, make sure you have administrator access to your chosen platform and the necessary permissions to create authentication credentials.

Just need a quick reference for authentication? Look at the Connection guides for your data platform.

Choose Your Platform

Select the platform you want to connect to:

An admin or a user with the ability to assign permissions is needed for BigQuery.

Set Up Project Level Permissions.

  1. Make sure you're in the project you want to add the service account to.

  2. Go to IAM & Admin > Service Accounts in Google Cloud.

    Google Cloud Console IAM & Admin navigation menu with Service Accounts selected, showing options such as IAM, PAM, Policy Analyzer, Organization Policies, and Service Accounts.
  3. Click Create service account.

    Google Cloud Console IAM & Admin Service accounts page showing a list of service accounts for a project, with the Create service account button highlighted at the top.
  4. Fill out the required Service account ID and any other information required by your company's policy. Click Create and Continue.

  5. Search for the role BigQuery User. Click Continue.

    Google Cloud Console Create service account page showing the Permissions step, with the role selector open and BigQuery User highlighted as a role option.
  6. You can skip Principals with access. Click Done. Move on to setting data set level permissions.

Set Up Dataset Level Permissions.

  1. Go to BigQuery Studio.

  2. In the Explorer, find the data set you want to add to Coalesce.

    Google BigQuery console showing the Datasets page filtered by search term, with two datasets listed
  3. In the data set, click Share > Manage Permissions.

    Google BigQuery console showing the  dataset overview, with the Share menu open and the Manage permissions option highlighted for the dataset.
  4. Click Add principal.

  5. Search for your service account name. It should look similar to name@projectname.iam.gserviceaccount.com.

  6. Then assign roles as BigQuery Data Editor.

    Google Cloud Console IAM dialog for granting access to a BigQuery dataset. A service account is added as a principal, and the BigQuery Data Editor role is selected under Assign roles, with options to add IAM conditions and save changes.
  7. Go to IAM & Admin > Service Accounts in Google Cloud.

    Google Cloud Console IAM & Admin navigation menu with Service Accounts selected, showing options such as IAM, PAM, Policy Analyzer, Organization Policies, and Service Accounts.
  8. Click on the service account created for Coalesce.

  9. Click Keys.

  10. Then Add key > Create new key.

    Google Cloud Console Service account Keys page showing the Add key menu expanded, with the Create new key option highlighted for generating a new service account key.
  11. Download the JSON file.

Create Your Workspace.

  1. Select the Project you want to create the Workspace in.

  2. Click Create Workspace.

  3. Workspace Details

  4. Give your Workspace a Name and Description(optional).

  5. Click Next.

  6. Add your BigQuery Credentials

  7. Upload the JSON file from Google Cloud IAM. Then click Test Connection.

    Create a Workspace setup screen showing the Add your BigQuery Credentials step, with Authentication Type set to Service Account and an option to upload a Google service account JSON key file.
  8. Click Next.

  9. Set Up Version Control

  10. Workspaces let you work on a branch. This is the version control repo you created in Setup Version Control and added to your Project. You will need to select a branch and commit to make a new branch. For example, if you want to create a branch off main, select main, then select the commit in main to create your branch from.

  11. Then give the new branch a name.

  12. Click Next.

    A screenshot of the Set Up Version Control screen, which is step 4 of 5 in creating a workspace. The user is creating a new branch named 'demo\_two' from an existing parent branch called 'workspace\_demo'. The most recent commit on the parent branch is also shown.
  13. Storage Location and Storage Mappings

  14. Add Storage Locations and Storage Mappings to your Workspace. If you have any existing Storage Locations and Storage Mappings from your repo, they will be listed here. You can delete the defaults and add new Storage Locations.

    Storage Locations and Mappings configuration interface showing two locations (WORK and EDW), with EDW expanded to display database mapping to EDW_APAC and schema mapping to DEV_EDW. Interface includes toggle for manual mapping and option to set WORK as default storage location.
  15. Click Create Workspace.


What's Next?

Review the Coalesce Fundamentals to learn more about: