Install and configure the BigQuery AI and ML SDK for ABAP

This document describes how to install and configure the BigQuery AI and ML SDK for ABAP on SAP host system on Compute Engine, any cloud virtual machines, RISE with S/4HANA Cloud Private edition, or on-premise instances.

Installation

When you install the latest version of the on-premises or any cloud edition of ABAP SDK for Google Cloud, the BigQuery AI and ML SDK for ABAP is installed for you. For information about the installation steps, see Install and configure the on-premises or any cloud edition of ABAP SDK for Google Cloud.

If you're using version 1.9 or earlier of the on-premises or any cloud edition of ABAP SDK for Google Cloud, then update your SDK to the latest version to get the BigQuery AI and ML SDK for ABAP. For more information, see Update ABAP SDK for Google Cloud.

Enable Google Cloud APIs

To create remote connections in BigQuery for Gemini and embeddings models, enable the BigQuery Connection API in your Google Cloud project.

BigQuery Connection API

To invoke Gemini and Vertex AI embeddings models, enable the Vertex AI API in your project before you register BigQuery ML models with the Model Registry.

Vertex AI API

For information about how to enable Google Cloud APIs, see Enabling APIs.

Authentication

When you set up authentication to access Google Cloud APIs in your on-premises or any cloud edition of ABAP SDK for Google Cloud, the BigQuery AI and ML SDK for ABAP utilizes the same authentication method to access relevant APIs. For information about how to set up authentication in the on-premises or any cloud edition of ABAP SDK for Google Cloud, see Authentication overview.

Grant IAM permissions

Ensure that the dedicated service account for API access that you've configured for authentication has access to the BigQuery and Vertex AI resources.

Supported regions

BigQuery ML is supported in the same regions as BigQuery. For more information, see BigQuery ML models locations.

Get support

If you need help resolving problems with the ABAP SDK for Google Cloud, then do the following: