This is a cache of https://developer.ibm.com/tutorials/use-watson-pipelines-to-build-model-pipelines/. It is a snapshot of the page as it appeared on 2025-11-15T03:31:13.907+0000.
Use Watson Pipelines to build model pipelines - IBM Developer

Tutorial

Use Watson Pipelines to build model pipelines

Build sample pipelines that automate the creation and running of an AutoAI experiment, and deploy the experiment through the IBM Cloud Pak for Data platform as a web service

By

Sayantaun Ghosh

Archived content

Archive date: 2024-12-10

This content is no longer being updated or maintained. The content is provided “as is.” Given the rapid evolution of technology, some content, steps, or illustrations may have changed.

With the aim of automating the creation and running of machine learning experiments, IBM introduced a service on Watson Studio called Pipelines. Watson Pipelines helps you orchestrate the flow of assets from creation through deployment on IBM Cloud. Watson Pipelines is part of the IBM Data Fabric collection of tools and capabilities for managing and automating your data and AI lifecycle. For details on how Data Fabric can support your machine learning goals and operations in practical ways, see the Data Fabric use cases.

Learning objectives

This tutorial uses an AutoAI use case to demonstrate the benefits of Watson Pipelines, giving you a better understanding of how to orchestrate an AutoAI experiment. The tutorial includes details about building sample pipelines that show how to automate the creation and running of an AutoAI experiment as well as how to deploy the experiment through the IBM Cloud Pak for Data platform as a web service.

Prerequisites

To follow this tutorial, you need:

Estimated time

It should take you approximately 45-60 minutes to complete the tutorial, including the training in Watson Pipelines.

Steps

Step 1. Register your IBM Cloud account

  1. Create an IBMid.

    Creating IBMid

  2. Enter all of the required information and accept the privacy notice. After you've entered the information, you see that your dashboard is ready.

    Dashboard

Step 2. Start Cloud Pak for Data

  1. Navigate to IBM Cloud Pak for Data. Choose the region (Dallas), then choose Log in with your IBMid.

    Log in with IBMid

    If already have an instance of IBM Cloud Pak for Data, select Launch in Cloud Pak for Data.

    Launch Cloud Pak for Data

  2. Wait for IBM Cloud Pak for Data to start.

  3. When you see the Go to IBM Cloud Pak for Data button, click it, and go directly to your dashboard.

    Cloud Pak for Data dashboard

    Optionally, you see a window for an in-platform tour. You can take it before continuing, or simply close the window.

Step 3. Create project

  1. Click Create New Project.

    Ready dashboard

  2. Choose Create an empty project, and enter a name.

    Empty project

  3. After your project initializes, you see your project Overview and Assets pages.

    Overview page Assets page

Step 4. Create a deployment space

  1. Choose Deployments in the left navigation menu, then click New Deployment spaces.

    Deployment

  2. Name the space, select your cloud storage, and, optionally, select the Watson Machine Learning Service. Click Create.

    Naming the space

  3. Wait for your deployment space to be created, then click View new space when it's ready.

    View space

  4. You see your deployment space dashboard.

    Deployed space

Step 5. Create Watson Pipeline

  1. Open the project's Assets tab, and click New asset.

    Project's assets

  2. You see the list of assets that you can add to your project. Click Pipelines, which stands for Watson Pipelines.

    Picking pipelines

  3. Choose Gallery sample, then select the Orchestrate an AutoAI experiment sample.

    Orchestration experiment

  4. Enter your pipeline name, and click Create.

    Creating experiment

  5. After your pipeline is created, you see the Watson Pipelines user interface with your sample pipeline opened in it.

    Watson Pipelines

Step 6. Trigger trial run

  1. Click Run pipeline, and select Trial Run. This creates a one-time run, as opposed to runs scheduled to execute periodically.

    Run pipeline

  2. In the Define Pipeline Parameters window, click Select Space under the deployment_space parameter.

    Selecting space

  3. Select your space, then click Choose.

    Selecting your space

    You return to the pipeline parameters window. Note that your deployment space is now visible instead of the Select space button.

  4. Generate the API key by clicking Generate new API key.

  5. Enter a name for your API key, and click Save. Now your API key is created, and you are able to reuse it in future runs.

    Generating API Key

  6. Click the eye icon to show your API key. Copy and paste it to a safe location so that you won't lose it. It is not shown later, but you can generate a new API key if you lose it.

    API key created

    You return to the pipeline parameters window. Note how the API key is now chosen, and the Run button in the lower-right corner is no longer gray.

  7. Click Run to execute your run. After your run is created, you see the execution tracking user interface, where you can observe your pipeline run being executed.

    Tracking user interface

  8. Wait for your run to complete. It should finish successfully and produce a deployment in your deployment space

    Produce deployment Deployment space

Step 7. Validate deployment

  1. Go to your Deployment space.

    Sample deployment space

  2. Validate and test the online deployment.

    Validate deployment Test deployment

Summary

This tutorial explained one approach to building machine learning pipelines on IBM Cloud Pak for Data using Watson Pipelines. For more information on Watson Pipelines, see the product documentation.