Connectivity destinations are a part of the SAP Cloud Platform connectivity service and are used for the outbound communication of a cloud application to a remote system like SAP Jam Collaboration. They contain the connection details for the remote communication of an application. Connectivity destinations are represented by symbolic names that are used by on-demand applications to refer to remote connections. The connectivity service resolves the destination at runtime based on the symbolic name provided. The result is an object that contains customer-specific configuration details, such as the URL of the remote system or service, the authentication type, and the relative credentials.
Step 1: Create your destination configuration file
- Create a text file named
sapjam\_developer
-
Copy and paste the following into this file:
Type=HTTP
TrustAll=true
audience=cubetree.com
Authentication=OAuth2SAMLBearerAssertion
WebIDEUsage=odata_gen
Name=sapjam_developer
WebIDEEnabled=true
CloudConnectorVersion=1
tokenServiceURL=https\://developer.sapjam.com/api/v1/auth/token
ProxyType=Internet
URL=https\://developer.sapjam.com/api/v1/OData
- Save this file.
- If you configure the destination manually, all values must be the same including the name of the destination.
Step 2: Import your destination configuration file into SAP Cloud Platform
- Login to SAP Cloud Platform
- Select your account
- Click Connectivity
- Click Destinations
- Click Import Destination
- Select your destination configuration file
sapjam\_developer
and click Open.
Figure 5: Import your destination configuration file into SAP Cloud Platform
Step 3: Create and configure OAuth Clients
- Switch back to SAP Jam Collaboration. At the top right of the page select the cog icon > Admin.
- Click Integrations in the left menu.
- Click OAuth Clients
- Click Add OAuth Client
- Enter
SAP Cloud Platform
in the Name field.
- Enter
https://hanatrial.ondemand.com
in the Integration URL field.
- Click Save
Figure 6: Create and configure OAuth Clients
Step 4: Update the destination with the OAuth Client key from SAP Jam Collaboration
- In Jam click OAuth Clients
- Click View
- Copy the Key value
- Go back to the SAP Cloud Platform destination configuration screen and paste the Key value into the Client Key field.
- If you see a red warning Client Key cannot be empty:
- Select Authentication |
Oauth2SAMLBearerAssertion
- Change it to No Authentication
- Change it back to
Oauth2SAMLBearerAssertion
- Click Save
Figure 7: Update the destination with the OAuth Client key from SAP Jam Collaboration
Next Steps