> For the complete documentation index, see [llms.txt](https://www.cakewalk.security/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.cakewalk.security/docs/ai-agent-access/connections-and-integrations/agent-connections/pliant.md).

# Pliant

Connect your company's Pliant account so agents can work with cards, cardholders and card accounts through Cakewalk's gateway.

Connect your company's Pliant account to Cakewalk's MCP Gateway. Every agent tool call against Pliant passes through the gateway and is evaluated against your Policies.

Pliant issues one set of API credentials per company. You exchange those credentials for an access token and paste the token into Cakewalk.

## Requirements

* A Pliant administrator who can request API credentials from Pliant.
* The `clientId` and `clientSecret` Pliant issues for your company. Pliant provides these during onboarding.
* Someone who can run a command line request, or an engineer to run Step 2 for you.

## Step 1: Get Your API Credentials From Pliant

Ask your Pliant contact for your company's `clientId` and `clientSecret`. Pliant provides both during onboarding, so your finance or operations team may already hold them.

## Step 2: Exchange the Credentials for an Access Token

Run this request, substituting your own values:

```
curl -X POST https://infinnityprodinternal.eu.auth0.com/oauth/token \
  -H "Content-Type: application/json" \
  -d '{
    "grant_type": "client_credentials",
    "clientId": "YOUR_CLIENT_ID",
    "clientSecret": "YOUR_CLIENT_SECRET",
    "audience": "api.getpliant.com/api/integration"
  }'
```

Copy the `access_token` value from the response.

## Step 3: Paste the Token Into Cakewalk

1. Open <https://app.getcakewalk.io>.
2. Go to All Connections.
3. Find Pliant.
4. Paste the access token.
5. Save.

## Verifying It Works

The Pliant Connection card flips to Active on All Connections. From an agent platform connected to Cakewalk, ask the agent to list your company's cardholders. If Pliant returns results, the Connection is live.

## Troubleshooting

* The Connection worked yesterday and fails today: Pliant access tokens expire 24 hours after they are issued. Repeat Step 2 and paste the new token.
* Requests are rejected as unauthorized: confirm the `audience` value in Step 2 matches `api.getpliant.com/api/integration`. A sandbox audience returns a token that production rejects.

## Learn More

* [Pliant Pro API authentication](https://customer-api.getpliant.com/docs/authenticated-api-usage)
* [Pliant MCP server](https://customer-api.getpliant.com/docs/mcp)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://www.cakewalk.security/docs/ai-agent-access/connections-and-integrations/agent-connections/pliant.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
