

Repeat for each Coupa script shown back in Step 5.īy removing the Coupa API Key from each script, NetSuite won't be able to use keys to access Coupa, and will now need to rely on OAuth.Blank out the value for the COUPA API Key.Select Edit for the deployment and then select Parameters.Select the Deployments link for a script.


Under SCRIPT FILE, select - All - and under FROM BUNDLE, select 84306.Īll of the Coupa P2P scripts used by the bundle displayed.To remove the API Key from your existing Coupa scripts, go to Customization > Scripting > Scripts.If any one of the above three fields are missing, NetSuite won't use OAuth to authenticate. Search for Coupa P2P + Expenses Bundle.Go to Customization > SuiteBundler > Search & Install Bundles > List form the top tool bar.Log in to NetSuite and check the client version.Step 2: Update to the latest version of the Coupa P2P + Expenses bundle We need an access token to be able to access APIs and it only lasts for 24 hours, so Coupa’s recommendation is to renew the token every 20 hours (like a refresh token). With the Netsuite bundle, it's automated. Click Show/Hide to display and copy the Secret. Saving the client gives you values of the client Identifier and Secret which are needed to gain access to the API Scopes you have defined for it. When you drill down into a scope, you can see the specific API permissions associated with that scope. You can find the list of scopes and their underlying Coupa permissions by going to the Scope management page at /oauth2/scopes. In order to implement API permissions with OIDC, we've created several new scopes that provide access to specific functionality for the API. Scopes are like a set of permissions set on the API key.
