> ## Documentation Index
> Fetch the complete documentation index at: https://university.triggr-app.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

<Steps>
  <Step title="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.
  </Step>

  <Step title="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.
  </Step>
</Steps>

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

## Connect it in Triggr

<Steps>
  <Step title="Open the configuration">
    Go to **Integrations > Pax8** and click **Configure** on the Base Configuration card.

    <Frame>
      <img src="https://mintcdn.com/triggr/nyuVXZ1rouDTTEvu/images/integrations-common/base-configuration.png?fit=max&auto=format&n=nyuVXZ1rouDTTEvu&q=85&s=bb81acb082055015f91beda7b4876f35" alt="The Base Configuration card with Status Not Configured, Admin Consent Not Required and a Configure button." width="2272" height="330" data-path="images/integrations-common/base-configuration.png" />
    </Frame>
  </Step>

  <Step title="Enter the credential">
    Leave Audience as `https://api.pax8.com`, enter the ClientID and ClientSecret and click Save Configuration.

    <Frame>
      <img src="https://mintcdn.com/triggr/nyuVXZ1rouDTTEvu/images/pax8/configure.png?fit=max&auto=format&n=nyuVXZ1rouDTTEvu&q=85&s=75ebe4b61c5ecaf130b887b11d0f8856" alt="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." width="1344" height="1354" data-path="images/pax8/configure.png" />
    </Frame>
  </Step>
</Steps>

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](/core/manage/licences-and-distributors#buy-seats-automatically).

## Troubleshooting

<AccordionGroup>
  <Accordion title="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>

  <Accordion title="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>

  <Accordion title="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>

  <Accordion title="Lost the client secret">
    Create a new API credential, then paste its details with Edit on the Base Configuration card.
  </Accordion>

  <Accordion title="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>

  <Accordion title="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.
  </Accordion>
</AccordionGroup>


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