> ## Documentation Index
> Fetch the complete documentation index at: https://stackone-hub-docs-confluence-api-token-update.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Payfit

> Follow these steps to connect Payfit via the StackOne Hub successfully.

<Warning>
  Ensure that your Payfit account has Admin privileges.
</Warning>

If you've been directed to StackOne to integrate with Payfit, the following steps will help you understand the process and any necessary actions to configure a successful integration.

## Log in to Payfit

Log in to your Payfit account.

## Create your Payfit API Key

<Steps>
  <Step title="Navigate to API Keys">
    Go to **[https://app.payfit.com/integrations/hub/api](https://app.payfit.com/integrations/hub/api)** and click on **Create a key**.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Navigate to API Keys" src="https://mintcdn.com/stackone-hub-docs-confluence-api-token-update/kA_-fzt7TEYGckYp/images/payfit/image1.png?fit=max&auto=format&n=kA_-fzt7TEYGckYp&q=85&s=a11e1f2b623581ffa210dc7f1096c78f" width="1894" height="897" data-path="images/payfit/image1.png" />
    </Frame>
  </Step>

  <Step title="Select API Key Scopes">
    Configure your key with an explicit label and the appropriate scopes.

    <ol type="a">
      <li>contracts:read</li>
      <li>contracts:time-information:read</li>
      <li>collaborators:contracts:write</li>
      <li>collaborators:read</li>
      <li>collaborators:write</li>
      <li>collaborators:contracts:read</li>
      <li>collaborators:management:read</li>
      <li>collaborators:personal:read</li>
      <li>collaborators:legal-identity:read</li>
    </ol>

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Select API Key Scopes" src="https://mintcdn.com/stackone-hub-docs-confluence-api-token-update/kA_-fzt7TEYGckYp/images/payfit/image2.png?fit=max&auto=format&n=kA_-fzt7TEYGckYp&q=85&s=a75a7ad40d5147c0a45ee90df910f8da" width="1521" height="853" data-path="images/payfit/image2.png" />
    </Frame>
  </Step>

  <Step title="Copy your API Key">
    Copy your newly created key and save it securely. You will not be able to access it again in the PayFit interface for security reasons.
  </Step>
</Steps>

## Connecting with StackOne

Upon reaching the Link Account page, enter the credential(s) from the previous steps:

* **API Key**

Proceed by clicking the Connect button.

<Frame>
  <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Enter Credentials" src="https://mintcdn.com/stackone-hub-docs-confluence-api-token-update/kA_-fzt7TEYGckYp/images/payfit/image3.png?fit=max&auto=format&n=kA_-fzt7TEYGckYp&q=85&s=ec4e9b613a61fd7150642b59499a5e2e" width="491" height="773" data-path="images/payfit/image3.png" />
</Frame>

<br />

Congratulations, you're all set! If you face any issues with the steps mentioned above,
please contact us by emailing [integrations@stackone.com](mailto:integrations@stackone.com). We're always here to assist you!

## Useful Links

<Card title="API Reference" icon="link" href="https://developers.payfit.io/docs/authentication-via-api-key">
  [https://developers.payfit.io/docs/authentication-via-api-key](https://developers.payfit.io/docs/authentication-via-api-key)
</Card>
