Create a Coupa integration profile
Create a Coupa integration profile to verify the status of the procurement-scheduled jobs, entitlements, and entitlement import errors created through this profile.
Before you begin
Role required: sam_admin
Create an OAuth 2.0 connection with Coupa to get the Client ID and Client Secret. For more information, see OAuth 2.0 Getting Started with Coupa API. Save the Client ID and Client Secret in a secure location for later use.
You must set the following scopes while creating an OAuth 2.0 connection with Coupa.
- core.approval.configuration.read
- core.approval.read
- core.approval.write
- core.catalog.read
- core.common.read
- core.contract.read
- core.contract.write
- core.inventory.adjustment.read
- core.inventory.adjustment.write
- core.inventory.asn.read
- core.inventory.common.write
- core.inventory.consumption.read
- core.inventory.consumption.write
- core.inventory.receiving.read
- core.inventory.receiving.write
- core.inventory.return_to_supplier.read
- core.inventory.transfer.read
- core.inventory.transfer.write
- core.invoice.delete
- core.invoice.read
- core.invoice.write
- core.item.read
- core.item.write
- core.legal_entity.read
- core.purchase_order.read
- core.purchase_order.write
- core.requisition.read
- core.requisition.write
- core.sourcing.pending_supplier.read
- core.sourcing.pending_supplier.write
- core.sourcing.read
- core.sourcing.response.award.write
- core.sourcing.response.read
- core.sourcing.response.write
- core.sourcing.write
- core.supplier.read
- core.supplier.write
- core.user.read
- core.user.write
Note: If these scopes aren't associated with the Client ID and Client Secret, the OAuth token flow fails on ServiceNow.
Procedure
Navigate to Software Asset Workspace > License operations > Purchasing > Procurement integrations.
Select New.
On the form, fill in the fields.
| Field | Description |
|---|---|
| Display name | Name of the procurement integration profile. For example, `Coupa integration`. |
| Connection & Credentials | Connection and credential alias for Coupa. This field gets automatically populated to sn_coupa_spoke.Coupa_OAuth. |
| Profile type | Type of integration profile. Select Coupa integration. |
| Status | Status of the integration profile. - If you haven’t published the integration profile, this field is automatically set to Draft. - If you’ve already published the integration profile, this field is automatically set to Published. |
| Active | This field is visible and set to true only when the integration profile is published. If you set this field to false, the associated requisitions with this integration profile aren’t created and tracked. |
Select Save.
Select the Preview icon
Preview icon next to the Connection & Credentials field.
You get redirected to the Connection & Credential Aliases form.
Select Create New Connection & Credential in the Related Links section to create connection credential.
In the dialog box, fill in the fields.
| Field | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Name \(Connection\) | Name to identify the connection uniquely. For example, `Coupa OAuth connnection`. | ||||||||
| Connection URL | URL to make a connection to Coupa. Use the `https://| Name \(Credential\) | Name to identify the credential uniquely. For example, `Coupa OAuth credential`. | Token URL | URL used to generate OAuth token. Use the `https:// | OAuth Client ID | Identifier \(Client ID\) generated in Coupa. | OAuth Client Secret | Secret \(Client Secret\) generated in Coupa. |
ResultAfter you publish the integration profile, the scheduled job ITAM - Sync Coupa purchase orders runs daily and fetches the status of the already created requisitions. Note: If you haven't created any requisition, the scheduled job doesn't run. You can view this information by clicking the Procurement Integration Jobs tab. What to do nextVerify if the scheduled job ITAM - Sync Coupa purchase orders has run successfully by selecting the Integration Scheduled Job Results tab. If the job has failed, you can view the list of errors by following these steps:
Create software requisitions directly on Coupa through the ServiceNow Procurement application to purchase software. If you want to delete the Coupa integration profile, see Deleting an external procurement application integration profile. |