Getting started
Example 1: Connecting to a Salesforce API by using Client Credentials
In this example, Enterprise Connector connects to a Salesforce REST API by using OAuth 2.0 Client Credentials.
-
Create a Connected App in Salesforce and note the client ID, client secret, and token URL.
-
In API Gateway, open the Non-Infor API suite that contains your Salesforce endpoint.
-
Ensure that the endpoint is configured to use Enterprise Connector and the correct enterprise location.
-
In the Target Security section, select OAuth2.0 and then Client Credentials.
-
Specify the token URL, client ID, client secret, and, if required, the scope.
-
Click .
The Hybrid Service automatically acquires a Salesforce access token and includes it in outbound requests.
Example 2: Connecting to a partner on-premises API by using Resource Owner Password Credentials (ROPC)
In this example, Enterprise Connector connects to a partner API that requires Resource Owner Password Credentials (ROPC).
-
Obtain the token URL, client ID, client secret, username, and password for the service account.
-
In API Gateway, open the API suite and endpoint that are configured to use Enterprise Connector.
-
In the Target Security section, select OAuth2.0 and then Resource Owner Password Credentials.
-
Specify the required configuration values, including the username and password for the service account.
-
Click .
The Hybrid Service authenticates by using the service account when calling the partner API.