Skip to main content

Generate a Personal Access Token

Personal Access Tokens (PATs) authenticate against the Contentful Content Management API. The token inherits the permissions of the user who creates it.

1

Sign in to Contentful

Sign in to your Contentful account.

  • Click your profile avatar in the top-right corner and select Account settings.
2

Open the CMA tokens page

Navigate to the CMA tokens tab in Account settings.

  • Click Create personal access token.
3

Create the token

Enter a descriptive name and generate the token.

  • Token name: Enter a descriptive name (e.g., StackOne).
  • Expiration date: Required field with a default of 30 days. Choose an appropriate duration for your integration.
  • Click Generate.
  • Copy the token immediately — it is only displayed once and starts with CFPAT-. Store it securely for use later.

Linking the Account from the Hub

1

Navigate to the Hub

Use one of the three Linking Account Methods to access the Hub.
2

Fill out the fields

Fill out the following fields using details from your provider:
  • Personal Access Token
3

Connect

  • Click Connect
  • If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
  • Once authorization is successful, you will see a confirmation popup

If the account linking is successful, you will see the newly linked account in your Accounts page.