...
Snaps in the Coupa Snap Pack use the Coupa OAuth2 account to access the Coupa application. For the OAuth2 account to function without any issue, ensure to create and configure a connected App corresponding to the account as explained in the steps below. These steps also contain the information required to define a new OAuth2 account for using this Snap Pack.
Creating an
...
OAuth2 app in Coupa Portal
SnapLogic supports only Client Credentials Grant type. Using this Grant type, you can create a client and generate Client ID and Client Secret to request for an access token.
...
Admin access to Coupa
Log into Coupa as an integrations-enabled administrator.
To create an OAuth2 app in Coupa:
Log into the Coupa portal. The URL format for Coupa instances:
Customer instances:https://{organization_name}.coupahost.com
Partner and demo instances:https://{organization_name}.coupacloud.com
Navigate to Setup > Integrations > Oauth2/OpenID Connect Clients.
Note: You can also search for ‘oauth’ in the Find it fast search box.Click Create in Oauth2/OpenID Connect Clients page.
From the Grant type list, select Client credentials.
Specify the details for the client, such as Name, Login, Contact First Name, Contact Last Name, and Contact Email as shown in the image below:
Note: You must provide a unique login ID for Client Credentials Grant type,else Coupa displays an error,
Login has already been taken
.Select the Scopes you want to include in this API setup.
Note: To create a client app, we you must select at least one scope and the scopes which provide access to specific APIs required for your functionality.Click Save to save the client.
The client Identifier and Secret are generated. You can toggle the Show/Hide link to display and copy the client secret.
...
Navigate to the Coupa Snap of your choice and configure the Coupa OAuth2 Account with the following details:
Client ID: A Public Identifier for your app. Provide the Client ID that is auto-generated after creating the app in the Coupa portal.
Client Secret: Secret value known only to the app and the auth server. Provide the Client Secret that is auto-generated after creating the app in the Coupa portal.
Click Authorize.
You will be redirected to the login page of Coupa.Log into Coupa and accept the permissions.
The Access token is populated in the respective fields.Click Apply after the authorization is successful.
...