Skip to Content

Enable, deploy and configure the SAP Cloud, predictive services

Previous

Enable, deploy and configure the SAP Cloud, predictive services

By Abdel DADOUCHE

Enable, deploy and configure the SAP Cloud, predictive services

You will learn

  • How to enable, deploy and configure the SAP Predictive services for your SAP Cloud Platform developer Account

Details

Step 1: Enable the Predictive Services

Let’s go back to the SAP Cloud Platform Cockpit with your free trial account on Europe (Rot) - Trial and access “Your Personal Developer Account”.

Click on your SAP Cloud Platform Account name as highlighted on the below screenshot.

If you are unclear with what is your SAP Cloud Platform account name, you can refer to the following blog entry: SAP Cloud Platform login, user name, account id, name or display name: you are lost? Not anymore!

 

SAP Cloud Platform Cockpit

On the left side bar, click on Services.

Click on the Predictive Services tile

Services

By default, the Predictive Services are not enabled.

Click on Enable

Predictive Services

Once enable, you will need to deploy the Cloud for Predictive Analytics application.

Step 2: Deploy the Predictive Services application

Click on Go To Service

Predictive Services

You might receive the following information message, just click on OK

Cloud for Predictive Analytics

Next, you can deploy the Cloud for Predictive Analytics services application.

Click on the tile

Cloud for Predictive Analytics

In order to deploy the Cloud for Predictive Analytics services application in your Your Personal Developer Account, you need to provide your SAP Cloud Platform Account Password as highlighted on the screenshot.

The other settings, like SAP Cloud Platform Account User Name, will be filled with your current information.

Click on Deploy

Cloud for Predictive Analytics

Click on OK to confirm the deployment

Cloud for Predictive Analytics
Step 3: Configure the data source binding

Once deployed, you will be provided with the Application Dashboard URL.

Click on the highlighted link

Cloud for Predictive Analytics

Now, you need to add you a data source binding to your trial HANA MDC instance.

On the left side bar, navigate in Configuration, then click on Data Source Binding

Cloud for Predictive Analytics

The data source binding will allow the Cloud for Predictive Analytics application to locate the data to be consumed by the service and execute the SAP HANA Automated Predictive Library (APL) on it, but also to persist a set on internal tables.

New Binding

Click on New Binding

New Binding

It should propose you by default your HANA MDC instance (named mdc) we just created.

Enter your HANA User Account login (PSTRIAL) and password (Welcome17Welcome17).

Click on Save

Binding
Step 4: Assign the roles to your user

Now, you need to configure security settings for your SAP Cloud Platform Account.

On the left side bar, navigate in Security, then click on Roles

Assign your user name to the C4PA-User role using the Assign button (make sure you are not including the ‘trial’ at the end).

Assign your user name to the C4PA-Admin role using the Assign button (make sure you are not including the ‘trial’ at the end).

The C4PA-User will enable your user to consume the services and the C4PA-Admin to administer the C4PA application.

Roles

If you are unclear with what is your SAP Cloud Platform account name, you can refer to the following blog entry: SAP Cloud Platform login, user name, account id, name or display name: you are lost? Not anymore!

Your SAP Cloud Platform Account User Name was displayed during the Deploy step.

And in case you are using a trial account, make sure you don’t include the “trial” at the end.

Step 5: Modify the Authentication scheme

Now, you need to modify the authentication schemes for the C4PA application.

This will simplify the way we will build a SAPUI5 application that consumes these services.

On the left side bar, navigate in Security, then click on Authentication Configuration

Click on Activate Custom Configuration.

Authentication

Check User name and password and Client certificate for the FORM authentication scheme

Click on Save

Authentication

Next, you will receive next an alert regarding the fact that the changes will be applied on the next restart, which is what we will do next.

Authentication
Step 6: Start the application

Go back to the Overview page (via the left menu bar).

Click on Start

Overview

Once started, you will be provided with the Application URLs which will give us access to the online documentation and the administration panels.

Overview

Later, you will be using the Application URLs, so you should save the highlighted URL in a notepad as your C4PA Application URL.

Step 7: Verify the setup

Click on the Application URLs link

Overview

Click on the Administration tile

Application

Status is green! Congrats, you have configured the SAP Predictive services on your SAP Cloud Platform account.

Application

Next Steps

Updated 11/19/2017

Time to Complete

10 minutes

Beginner

Next Steps

Next
Back to top

Call me now