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 and starts with CFPAT-.

1

Create the token

Sign in to your Contentful account.

  • Click your profile avatar in the top-right corner.
  • Open Account settings > CMA tokens.
  • Click Create personal access token.
  • Token name: StackOne
  • Expiration date: How long the token stays valid
  • Click Generate.
Token name filled in with Generate button highlighted
2

Copy the token immediately

Copy the Personal Access Token across. Contentful displays it only once.

  • Click the copy icon next to the token value.
Generated token confirmation screen with copy button highlighted

Find your Space ID

Each Contentful space has its own Space ID.

1

Copy the Space ID

From inside the space you want to connect:

  • Click the Settings menu (gear icon, top-right of the space navigation bar).
  • Under Space settings, click General settings.
  • Copy the Space ID across to Webhook Space IDs.
  • For more than one space, separate the IDs with commas.
Space settings General page with Space ID field highlighted
1

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.
2

Use Actions

Connect an AI platform to the linked account’s actions. See AI Platforms.Other ways to call actions are listed in Protocols & SDKs.

Next Steps

Webhooks setup

Configure receiving Events for Contentful into StackOne.