API Access using AIN Business Service

Customers who have not created service instance for SAP Asset Intelligence Network.

Prerequisites

You should have administrator access at both global account and subaccount level.

Procedure

  1. Enable Cloud Foundry (CF) if not already enabled for your subaccount.
  2. Go to your global account and click on the ‘Entitlements’ tab in the side panel.
  3. Edit the entitlements and add the quota for Asset Intelligence Network to your Cloud Foundry enabled subaccount by clicking on the ‘+’ button.
  4. Choose ‘Save’ at the top.
  5. Go back to your CF-enabled subaccount.
  6. Now go to the ‘Spaces’ tab in the side panel of your CF-enabled subaccount. Create a new space, or if you already have a space, you can use the existing space as well.
  7. Enter your space and click ‘Service Marketplace’ where you will find the service tile for Asset Intelligence Network.
  8. Click on the service tile and navigate to 'Instances' tab in the side panel. Create a new instance by choosing ‘New Instance’.
  9. Click ‘Next’ for Choose Service Plan, Specify Parameters (Optional), and Assign Application (Optional). Give the suitable instance name in the ‘Instance Name’ field and choose ‘Finish’ .
  10. Click on the newly-created instance name.
  11. Navigate to the ‘Service Keys’ tab and click ‘Create Service Key’.
  12. Provide a suitable service key name and choose ‘Save’.
  13. Now you can find Client Credentials in the service key-in the following parameters:
    Client Credentials Parameters
    Client ID uaa.clientid
    Client Secret uaa.clientsecret
    Token URL uaa.url + ‘/oauth/token’
    Application URL endpoints.ain-service