Before you begin
- Labs create a Google Cloud project and resources for a fixed time
- Labs have a time limit and no pause feature. If you end the lab, you'll have to restart from the beginning.
- On the top left of your screen, click Start lab to begin
Create a cloud data fusion instance
/ 25
Add Cloud Data Fusion API Service Agent role to service account
/ 25
Deploy a sample pipeline
/ 25
View the result
/ 25
Create a cloud data fusion instance
/ 25
Add Cloud Data Fusion API Service Agent role to service account
/ 25
Deploy a sample pipeline
/ 25
View the result
/ 25
This lab teaches you how to create a Data Fusion instance and deploy a provided sample pipeline. The pipeline reads a JSON file containing NYT bestseller data from Cloud Storage, runs transformations on the file to parse and clean the data, and loads a subset of the records into BigQuery.
In this lab, you learn how to perform the following tasks:
For each lab, you get a new Google Cloud project and set of resources for a fixed time at no cost.
Sign in to Google Skills using an incognito window.
Note the lab's access time (for example, 1:15:00), and make sure you can finish within that time.
There is no pause feature. You can restart if needed, but you have to start at the beginning.
When ready, click Start lab.
Note your lab credentials (Username and Password). You will use them to sign in to the Google Cloud Console.
Click Open Google Console.
Click Use another account and copy/paste credentials for this lab into the prompts.
If you use other credentials, you'll receive errors or incur charges.
Accept the terms and skip the recovery resource page.
Click the Start Lab button. If you need to pay for the lab, a dialog opens for you to select your payment method. On the right is the Lab setup and access panel with the following:
Note that the lab timer is located near the top of the page, showing the remaining time.
Click Open Google Cloud console (or right-click and select Open Link in Incognito Window if you are running the Chrome browser).
The lab spins up resources, and then opens another tab that shows the Sign in page.
Tip: Arrange the tabs in separate windows, side-by-side.
If necessary, copy the Username below and paste it into the Sign in dialog.
You can also find the Username in the Lab setup and access panel.
Click Next.
Copy the Password below and paste it into the Welcome dialog.
You can also find the Password in the Lab setup and access panel.
Click Next.
Click through the subsequent pages:
After a few moments, the Google Cloud console opens in this tab.
Cloud Shell is a virtual machine that contains development tools. It offers a persistent 5-GB home directory and runs on Google Cloud. Cloud Shell provides command-line access to your Google Cloud resources. gcloud is the command-line tool for Google Cloud. It comes pre-installed on Cloud Shell and supports tab completion.
Click the Activate Cloud Shell button () at the top right of the console.
Click Continue.
It takes a few moments to provision and connect to the environment. When you are connected, you are also authenticated, and the project is set to your PROJECT_ID.
(Output)
(Example output)
(Output)
(Example output)
Before you begin working on Google Cloud, you must ensure that your project has the correct permissions within Identity and Access Management (IAM).
In the Google Cloud console, on the Navigation menu (), click IAM & Admin > IAM.
Confirm that the default compute Service Account {project-number}-compute@developer.gserviceaccount.com is present and has the editor role assigned. The account prefix is the project number, which you can find on Navigation menu > Cloud overview.
If the account is not present in IAM or does not have the editor role, follow the steps below to assign the required role.
In the Google Cloud console, on the Navigation menu, click Cloud overview.
From the Project info card, copy the Project number.
On the Navigation menu, click IAM & Admin > IAM.
On the IAM page, click + Grant Access.
For New principals, type:
Replace {project-number} with your project number.
For Select a role, select Basic (or Project) > Editor.
Click Save.
In the Google Cloud console, on the Navigation menu (), click APIs & Services > Library.
In the search box, type Data fusion, and then click Cloud Data Fusion API in the results.
If the API is already enabled, click Manage, and then click Disable API.
Click Disable to confirm.
After the API is disabled, click Enable to re-enable the API.
In the Google Cloud console, on the Navigation menu (), click View all products, and then under Analytics, click Data Fusion.
Click Create an Instance to create a Cloud Data Fusion instance.
On the Create Data Fusion instance page:
a. Enter a name for your instance (such as cdf-lab-instance).
b. For Region, select us-central1.
c. For Edition, select Basic.
d. In the Authorization section, click Grant Permission if prompted.
e. Expand Advanced Options, and under Advanced Monitoring and Logging, select Enable Dataproc Cloud logging.
f. Leave the remaining settings as their defaults, and then click Create.
Click Check my progress to verify the objective.
Next, grant permissions to the service account associated with the instance:
In the Google Cloud console, on the Navigation menu (), click IAM & Admin > IAM.
On the IAM page, click +Grant Access.
In the New principals field, paste the Managed Service for Spark Service Account.
In the Select a role field, type Cloud Data Fusion API Service Agent, and then select it.
Click Save.
403 or IAM policy update failed error when clicking Save, wait several minutes and try saving again.
Click Check my progress to verify the objective.
When using Cloud Data Fusion, you use both the Cloud console and the separate Cloud Data Fusion UI.
In the Cloud console, you can create and delete Cloud Data Fusion instances, and view Cloud Data Fusion instance details.
In the Cloud Data Fusion web UI, you can use the various pages, such as Pipeline Studio or Wrangler, to use Cloud Data Fusion functionality.
To navigate the Cloud Data Fusion UI, follow these steps:
In the Google Cloud console, on the Navigation menu (), click View all products, and then under Analytics, click Data Fusion.
Click View Instance next to your Data Fusion instance.
Select your lab credentials to sign in, select Manage your Google Service Control data if prompted, and then click Continue.
The Cloud Data Fusion web UI includes its own navigation menu to move between pages.
Sample pipelines are available through the Cloud Data Fusion Hub, which allows you to share reusable Cloud Data Fusion pipelines, plugins, and solutions.
In the navigation menu, click Pipelines.
Click Cloud Data Fusion Quickstart, and then click Create.
In the Cloud Data Fusion Quickstart configuration panel, click Finish.
Click Customize Pipeline. A visual representation of your pipeline appears in the Pipeline Studio, which is a graphical interface for developing data integration pipelines. Available pipeline plugins are listed in the studio palette, and your pipeline is displayed on the main canvas area. You can explore your pipeline by holding the pointer over each pipeline node and clicking Properties to view the objects and operations associated with the node.
The deployed pipeline appears in the pipeline details view, where you can do the following:
View the pipeline's structure and configuration.
Run the pipeline manually or set up a schedule or a trigger.
View a summary of the pipeline's historical runs, including execution times, logs, and metrics.
Click Check my progress to verify the objective.
The pipeline writes output into a BigQuery table. You can verify that using the following steps.
In the Google Cloud console, on the Navigation menu (), click BigQuery.
In the Classic Explorer pane, click your Project ID (it starts with qwiklabs).
Under the GCPQuickstart dataset in your project, click the top_rated_inexpensive table.
Click + SQL Query, paste the query below, and then click Run.
Click Check my progress to verify the objective.
In this lab, you learned how to create a Data Fusion instance and deploy a sample pipeline that reads an input file from Cloud Storage, transforms and filters the data to output a subset of the data into BigQuery.
When you have completed your lab, click End Lab. Google Skills removes the resources you’ve used and cleans the account for you.
You will be given an opportunity to rate the lab experience. Select the applicable number of stars, type a comment, and then click Submit.
The number of stars indicates the following:
You can close the dialog box if you don't want to provide feedback.
For feedback, suggestions, or corrections, please use the Support tab.
Manual Last Updated on November 19, 2026
Lab Last Tested November 11, 2026
Copyright 2026 Google LLC All rights reserved. Google and the Google logo are trademarks of Google LLC. All other company and product names may be trademarks of the respective companies with which they are associated.
This content is not currently available
We can notify you via email when it becomes available
Great!
We can contact you via email if it becomes available
One lab at a time
Confirm to end all existing labs and start this one