Skip to content

Skybuffer AI Installation Guide on BTP

Services to Be Enabled:

HANA Cloud – https://discovery-center.cloud.sap/serviceCatalog/sap-hana-cloud

Cloud Foundry Runtime – https://discovery-center.cloud.sap/serviceCatalog/cloud-foundry-runtime

Authorization and Trust Management Service – https://discovery-center.cloud.sap/serviceCatalog/authorization-and-trust-management-service

Connectivity Service – https://discovery-center.cloud.sap/serviceCatalog/connectivity-service

Destinations Service – https://discovery-center.cloud.sap/serviceCatalog/destination

Job Scheduling Service – https://discovery-center.cloud.sap/serviceCatalog/job-scheduling-service

Object Store Service (currently supported Amazon S3 as a backend) – https://discovery-center.cloud.sap/serviceCatalog/object-store

AI Core Service – https://discovery-center.cloud.sap/serviceCatalog/sap-ai-core (Optional Service)

AI Launchpad Service – https://discovery-center.cloud.sap/serviceCatalog/sap-ai-launchpad (Optional Service)

Service Plans:

Service Service Technical Name Plan
SAP AI Core aicore extended
SAP AI Launchpad ai-launchpad standard (Application)
SAP HANA Cloud hana-cloud-tools tools (Application)
SAP HANA Cloud hana-cloud hana-td
SAP HANA Schemas & HDI Containers hana hdi-shared
Job Scheduling Service jobscheduler standard
Connectivity Service connectivity lite
Authorization and Trust Management Service xsuaa application
xsuaa broker
xsuaa space
xsuaa apiaccess
Destination Service destination lite

Roles to be assigned:

Role Name
aicore_admin_applications_editor
aicore_admin_editor_all
aicore_admin_repositories_editor
aicore_admin_resourcegroups_editor
allow_all_resourcegroups
connections_editor
SAP HANA Cloud Instance Administrator
SAP HANA Cloud Instance Security Administrator
Subaccount Viewer
Subaccount Service Administrator
viewer
mlfunctions_editor
mloperations_editor
genai_manager
genai_administrator
resourcegroup_viewer

Open the Entitlements section, and press the Edit button:

Screenshot

Press Add Service Plans:

Screenshot

Add service plans for all the services described in the sections of Services to be enabled:

Screenshot

Step 2. Installation of Components on Cloud Foundry Runtime:

Prerequisites & CLI Setup:
You need to install and configure the CLI interface for the CF runtime. Please refer to the SAP documentation: https://help.sap.com/docs/btp/sap-business-technology-platform/download-and-install-cloud-foundry-command-line-interface
Install the Multi-Apps CLI plugin (multiapps). Please refer to the SAP documentation: Install the Multi-Apps CLI Plugin in Cloud Foundry Environment. https://help.sap.com/docs/btp/sap-business-technology-platform/install-multiapps-cli-plugin-in-cloud-foundry-environment
Log on to your Cloud Foundry environment via CLI: Log On to Cloud Foundry Environment Using Cloud Foundry Command Line Interface. https://help.sap.com/docs/btp/sap-business-technology-platform/log-on-to-cloud-foundry-environment-using-cloud-foundry-command-line-interface

Note on Node.js Runtime & Buildpack Management (SAP BTP CF):
Unlike On-Premise SAP HANA XS Advanced environments, manual Node.js runtime installation is not required on SAP BTP Cloud Foundry.
While releases rely on @sap/approuter v23 (strictly requiring even-numbered LTS runtimes such as Node.js 22 LTS), SAP BTP automatically manages and updates the system nodejs_buildpack at the platform level.
The required Node.js 22 binaries are automatically resolved and provisioned during the droplet staging phase (cf deploy). No administrative action or SAP Note installation is required for BTP runtimes.

Step 3. Download the installation archives

Section titled “Step 3. Download the installation archives”

Download the installation archives and the extension descriptor skybfryai_docanalyzer.mtaext provided by Skybuffer to your workplace with the installed CF CLI.

skybfrxts is no longer part of Skybuffer AI. Do not deploy it.

Documents Analyzer is a separate archive, and the platform and Documents Analyzer depend on each other. That is why skybfryai is deployed twice: first without the extension descriptor, then, after Documents Analyzer, with it. Execute the following commands one by one:

Terminal window
cf deploy skybfryai_<version>.mtar
cf deploy skybfryai_doc_analyzer_<version>.mtar
cf deploy skybfryai_<version>.mtar -e skybfryai_docanalyzer.mtaext
cf deploy skybfryai_py_ai_core_<version>.mtar
cf deploy skybfryai_rag_m_<version>.mtar
cf deploy skybfryai_rag_vector_<version>.mtar
cf deploy skybfryai_translate_<version>.mtar
cf deploy botclientconnector_<version>.mtar

skybfryai_rag_vector can be installed in a Cloud Foundry environment with HANA DB version higher than QRC 1/2024, for SAP HANA VECTOR functions support.

After the third command, run cf env platform: the user-provided variables contain DOC_ANALYZER_ENABLED: true and a destination named docanalyzer. In the Skybuffer AI platform, Documents Analyzer appears in the app menu:

The Skybuffer AI app menu with Documents Analyzer in the AI Agent group

Step 4. Check the result

Log in to the Cloud Foundry Space and ensure that the applications are deployed and running:

Screenshot

With this release, skybfrxts is no longer part of Skybuffer AI: tenants are now part of skybfryai, in its own table Tenant. Documents Analyzer is a separate archive, skybfryai_doc_analyzer. Existing Documents Analyzer data is not carried over to the new Documents Analyzer; this is intended.

  1. In SAP HANA Database Explorer, open the HDI container of skybfrxts (schema SKYBFR_XTS) and export the content of the table Tenant to a CSV file.
  2. Remove skybfrxts: cf undeploy skybfrxts --delete-services --delete-service-brokers
  3. Deploy the new platform without the extension descriptor: cf deploy skybfryai_<version>.mtar
  4. In SAP HANA Database Explorer, open the HDI container of skybfryai with the table Tenant (service hdi_db_tenants) and import the CSV file into it. Leave out the default tenant 10000000: it exists already.
  5. Deploy Documents Analyzer: cf deploy skybfryai_doc_analyzer_<version>.mtar
  6. Deploy the platform again, with the extension descriptor: cf deploy skybfryai_<version>.mtar -e skybfryai_docanalyzer.mtaext
  7. Deploy the remaining archives as in Step 3, starting with skybfryai_py_ai_core.

To preserve the AI Connector link during the update of the AI Connector application and automatically revert to the previous link after installation, execute the following commands.

For getting list of routes and domains execute the following commands:
cf routes,
cf domains

cf map-route <APP_NAME> <DOMAIN> [–hostname HOSTNAME] [–path PATH]
Do not provide path if you want to change only hostname. Next step is to delete an old hostname.
cf delete-route <DOMAIN> [–hostname HOSTNAME] [–path PATH] [-f]
-f = force deletion

For example:

cf map-route botclientconnector cfapps.eu10-004.hana.ondemand.com –hostname botclientconnector-relaxed-meerkat-bj

cf delete-route cfapps.eu10-004.hana.ondemand.com –hostname skybuffer-sp–z-o-o–skybuffer-bot-skybuffer-ai-botclie25f4f193

Optional service AI_Core should be bind manually:

Screenshot

Screenshot

One-Time Tables Setup. Follow these steps to complete the one-time setup after installation:

  • Update the table Tenant in the HDI container of skybfryai (service hdi_db_tenants) with the required tenant details.

Assign Configuration for the RAG Application

Section titled “Assign Configuration for the RAG Application”
  • Update the EMB.CONF table within the SKYBFRYAI_RAG_M schema to assign the required configurations for the RAG embeddings API.

Ensure all entries are correctly maintained before proceeding with system usage.

If you plan to connect OnPremise system to BTP, Cloud Connector should be configured to provide Proxy Connection.

Verify that subaccount is connected and certificate is valid.

Screenshot

Verify connections to OnPremise systems.

Screenshot

To provide connection to OnPremise, seciont “Destination” should be configured.

Verify that cloud connector is successfully connected and got exposed back-end systems.

Screenshot

Go to section “Destinations” and setup connection depends of scenario.

Screenshot

More about destination you can find here: https://help.sap.com/docs/connectivity/sap-btp-connectivity-cf/destination-service