Set Up the OAuth Client to Work With the Data Export Service

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 Configure Clients, copy the Token URL. It will needed later in this procedure.
  4. Under Configured Clients, select Add a New OAuth Client.
  5. In the dialog, add a Name for the OAuth client.
  6. Under Purpose, select Interactive Usage and API Access.
  7. 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.
  8. Click Add.
    After you click Add, the application generates the OAuth Client ID and the Client Secret. Make sure to note them 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 copied in step 3, rather than OAuth2SAML Token URL.

Next Steps

Using these three values, you can send a sample request in Postman.
Let's configure Postman and send a request to the service.
Note
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. Under Type, select OAuth 2.0.
  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, geared towards administrators.
    • Authorization Code for Three-Legged OAuth authentication, geared towards 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.