Set Up the OAuth Client

Context

To send requests to the service, you must first set up an OAuth client on the SAP Analytics Cloud system. This requires administrator access.

Procedure

  1. From the side navigation, choose Start of the navigation path System Next navigation step  AdministrationEnd of the navigation path.
  2. Choose the App Integration tab.
  3. Under Configured Clients, select Add a New OAuth Client.
  4. In the dialog, add a Name for the OAuth client.
  5. Under Purpose, select Interactive Usage and API Access.
  6. Under Access, select Data Export Service.
    Note
    The Data Export Service option is only available if the dedicated feature toggle is enabled on your system.
  7. Click Add.
    After you click Add, the application generates the OAuth Client ID and the Client Secret. Make sure to note down, as these values will be used to send requests to the service.
    After configuring the OAuth client, you should have access to three values: Access token URL, OAuth Client ID, and Client Secret.
    Tip
    Make sure to use the access token specically named Token URL, rather than OAuth2SAML Token URL.

Next Steps

Using these three values, you can send a sample request in Postman. As an example, let's configure Postman and send a request to the service. This is just an example of possible usage of the service, it is not mandatory to use the service via Postman
First, let's configure the OAuth client.
  1. Go to the Authorization tab.
  2. Select OAuth 2.0 as the type.
  3. Fill in the values as specified in the screenshot below.

    There are two types of grant types supported:
    • Client Credentials for Two-Legged OAuth authentication (admin/tech users).
    • Authorization Code for Three-Legged OAuth authentication (business users).

Once you have filled in these values, click Get New Access Token. This is the token you can use to send a request to the service.