Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
Showing results for 
Search instead for 
Did you mean: 
Product and Topic Expert
Product and Topic Expert
This blog post is intended to help customers using okta as an IDP to configure SAML SSO between SAP Analytics Cloud and SAP HANA.

The setup of SSO between Sap Analytics Cloud(SAC) and HANA is divided into 2 parts :

  1. Setup of SSO between the IDP and SAC using SAML

  2. Setup of Live Connection between SAC and SAP HANA on-premise


Part 1. Setup of SSO between the IDP and SAC.

a. Login to the SAC application as an administrator and navigate to System -> Administration -> Security.

b. Click on Edit connection and choose SAML Single Sign-On

c. Download the service provider metadata.

This process would download a metadata file similar to this –





xmlns:ns3="urn:oasis:names:tc:SAML:2.0:metadata" ID="S9653fde0-4faa-4ab4-bf3b-08cf21cb7715" entityID="XXXX.XXXX.XXXX">

<ns3:SPSSODescriptor AuthnRequestsSigned="true" protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">

<ns3:KeyDescriptor use="signing">








<ns3:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://xxxx.xxxx.xxxx"/>

<ns3:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https:// xxxx.xxxx.xxxx "/>

<ns3:AssertionConsumerService index="0" isDefault="true" Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https:// xxxx.xxxx.xxxx "/>



d. In your okta system, add a new application and enter the values as requested by the okta application.

Ensure that you fill the values based on the metadata.xml output from the SAC application.

e. Create a .der file eg. SAC.der and create a certificate like this –


<Include your certificate from the metadata file that was generated>


f. Upload the certificate in the SAML settings of the okta application

g. Click on Next and Finish to create an application in okta.

h. Map the application to either send email-id, user-id or Custom SAML user Mapping. Your okta administrator should be able to take care of this part.

i. You should now be able to download a Metadata file from okta.

j.Upload this metadata file into your SAC application under the SAML SSO configuration.

k. Choose a user attribute to map to your identity provider.

l. Verify your account with the identity provider.

m. Once the account is verified Save the settings.

n. You should now be able to do a SSO to SAC based on your okta credentials.


Part 2. Setup of Live Connection between SAC and SAP HANA on-premise

Follow the official SAP documentation to setup the live connection between SAC and SAP HANA using a direct connection-

You have now configured SSO between your SAC and HANA using Okta IDP.

You can go ahead and create models based on the newly created HANA connection as well as create stories and DiBO with this connection.


Additional helpful articles-

1. SAML authentication in SAP Analytics Cloud

2. Multiple IDP’s for HANA XS Artifact – BusinessObjects Enterprise Platform Perspective

3. KBA 2487116 for AD FS configuration and KBA 2487567 with steps on troubleshooting SAML.