Setting up watsonx Code Assistant service

To use Transform capabilities with IBM® watsonx Code Assistant™ for Z, you need to create an instance of the IBM watsonx Code Assistant on IBM Cloud® with the IBM watsonx Code Assistant for Z as a Service Essentials or IBM watsonx Code Assistant for Z as a Service Standard plan, or install the watsonx Code Assistant for Z software in IBM Software Hub if you want the entire solution to run on prem.

Installing watsonx Code Assistant service in IBM Cloud

You can buy a monthly subscription through the IBM Cloud Catalogue directly, or through your IBM account team. watsonx Code Assistant supports multiple use cases and has different pricing plans, so you must pick the IBM watsonx Code Assistant for Z as a Service Essentials or IBM watsonx Code Assistant for Z as a Service Standard pricing plan to get access to COBOL to Java™ transformation services.

After you purchase a subscription, you can provision an instance of the service by using a guided walk through. For detailed steps on how to get started, see Set up watsonx Code Assistant for Z in IBM Cloud.

An administrator who is responsible for the service must complete the following steps:
  • Add developers to the watsonx Code Assistant service so they can request a key to access the AI.

  • Manage the subscription and token usage. The subscription entitles you to a specific number of tokens each month for using the AI to convert COBOL to Java. If developers exceed the limit that is included in the subscription, you are charged for any additional tokens used.

After watsonx Code Assistant for Z is set up in IBM Cloud, the Cloud Db2® database administrator needs to configure the database by loading the provided script through the IBM Db2 on Cloud web UI. For more information, see Setting up watsonx Code Assistant for Z in IBM Cloud.

Installing watsonx Code Assistant for Z service on prem through Cloud Pak for Data

An administrator who is responsible for the on-premises service must complete the following steps:
  • Create users. For more information on managing on-premises users, see Managing Cloud Pak for Data users.
  • Create spaces and configure the spaces to a DB2 instance.
  • Assign users View access to exactly one space. Multiple users may access the same space, but one user must not be able to access more than one space.
  • Download eAssembly version matching the version in the compatibility matrix for watsonx Code Assistant for Z and Cloud Pak for Data/IBM Software Hub, which contains the VS Code plugins and scripts for initializing the Db2 database.
  • Initialize the Db2 database using the script from the eAssembly.
Note: The Db2 instance does not have to be a cloud instance. It can also be an on-premises Db2 instance.