Documentation Index
Fetch the complete documentation index at: https://docs.serval.com/llms.txt
Use this file to discover all available pages before exploring further.
About Coupa
Coupa is a business spend management platform for procurement, invoicing, expenses, and supplier workflows. Connecting Coupa to Serval lets your team build workflows that read from and write to Coupa through the Coupa API.What the Coupa integration enables
| Capability | Description |
|---|---|
| Procurement workflows | Look up requisitions, purchase orders, invoices, suppliers, users, and related procurement data based on the scopes you grant |
| Approval automation | Incorporate Coupa approval and spend data into Serval workflows |
| Finance and operations workflows | Route vendor access, license provisioning, cost center, and procurement-related requests through Serval |
Coupa configuration
Prerequisites
Before connecting Coupa, make sure you have:- Admin or integration administrator access to your Coupa instance
- Your Coupa instance hostname, such as
acme.coupahost.comoracme.coupacloud.com - Permission to create an OAuth 2.0 / OpenID Connect client in Coupa
- The Coupa scopes required for the workflows you plan to run
Serval uses Coupa’s OAuth 2.0 client credentials flow. You do not need to configure a redirect URL because this is a server-to-server integration.
Create an OAuth client in Coupa
Open OAuth client settings
In Coupa, go to Setup > Oauth2/OpenID Connect Clients. You can also open
/oauth2/clients in your Coupa instance.Create a client credentials app
Click Create, then set Grant Type to Client Credentials.Use a recognizable name, such as
Serval Integration, and complete the required contact fields.Choose scopes
Select the scopes Serval should be allowed to use.Coupa scopes use the format
service.object.right, such as core.common.read or core.purchase_order.read. You can review available scopes in Coupa at /oauth2/scopes.Serval configuration
- In Serval, go to Apps > Available > Coupa > Connect
-
Enter the following information:
Field Description Instance URL Your Coupa hostname, such as acme.coupahost.comoracme.coupacloud.com. You can omithttps://and trailing slashes.Client ID The Coupa OAuth client Identifier Client Secret The Coupa OAuth client Secret Scopes The OAuth scopes assigned to the Coupa client, such as core.user.readand any additional scopes required by your workflows - Click Save
After the connection succeeds, Serval can request Coupa access tokens and use the Coupa API in workflows according to the scopes you granted.

