> ## Documentation Index
> Fetch the complete documentation index at: https://kb.mspprocess.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Pax8

> Connect Pax8 to Triggr with a Pax8 API credential (client ID and secret).

Triggr works with Pax8 companies, products, orders, subscriptions and invoices. You need the Partner Admin or Primary Partner Admin role in Pax8.

## Set up Pax8

**1. Create an API credential**

In Pax8, go to Integrations > [API credentials](https://app.pax8.com/integrations/credentials), click **+ Create API credential**, name it `Triggr` and click Save.

**2. Copy the client ID and secret**

Copy `client_id` and `client_secret` from the generated cURL example. The credential has full access to your partner API, so store the secret like a password.

See Pax8's [Using Pax8's APIs](https://devx.pax8.com/docs/public-api-details).

## Connect it in Triggr

**1. Open the configuration**

Go to **Integrations > Pax8** and click **Configure** on the Base Configuration card.

![The Base Configuration card with Status Not Configured, Admin Consent Not Required and a Configure button.](https://mintcdn.com/triggr/nyuVXZ1rouDTTEvu/images/integrations-common/base-configuration.png?fit=max\&auto=format\&n=nyuVXZ1rouDTTEvu\&q=85\&s=bb81acb082055015f91beda7b4876f35)

**2. Enter the credential**

Leave Audience as `https://api.pax8.com`, enter the ClientID and ClientSecret and click Save Configuration.

![The Pax8 configuration window with Audience set to https://api.pax8.com, empty ClientID and ClientSecret fields, an Allow insecure TLS switch under Advanced, and a Save Configuration button.](https://mintcdn.com/triggr/nyuVXZ1rouDTTEvu/images/pax8/configure.png?fit=max\&auto=format\&n=nyuVXZ1rouDTTEvu\&q=85\&s=75ebe4b61c5ecaf130b887b11d0f8856)

Actions for one customer take its Pax8 company ID, which List Companies returns.

## Use it in Triggr Core

Core can buy a licence seat at Pax8 when a new starter has none free. Set **Default distributor** to Pax8 in Core's Settings > General, then link each client to its Pax8 company (saved as the client's `pax8Id` variable) and map its licences. See [Licences and distributors](https://kb.mspprocess.com/core/manage/licences-and-distributors.md#buy-seats-automatically).

## Troubleshooting

> [accordion] Authentication errors (401)
>
> Check ClientID and ClientSecret have no spaces or quotation marks from the cURL example, Audience is exactly `https://api.pax8.com`, and the credential still exists in Pax8.

> [accordion] client ID field 'ClientID' is missing from pax8 configuration
>
> Core found no saved Pax8 connection. Save the Base Configuration with all three fields, then run the onboarding again.

> [accordion] Client not linked to Pax8 — won't auto-buy
>
> In Core, open the client, click Map next to Pax8 under Integrations, pick its Pax8 company and click Save mapping.

> [accordion] Lost the client secret
>
> Create a new API credential, then paste its details with Edit on the Base Configuration card.

> [accordion] List actions return only some results
>
> Pax8 pages results from `0`; request pages up to `totalPages` minus one. Subscription lists return at most 200 per page.

> [accordion] Rate limits (429)
>
> Pax8 allows 1,000 successful calls a minute. Run large workflows in smaller batches, or email [integrations@pax8.com](mailto:integrations@pax8.com) for a higher limit.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.