Register an OAuth application in Contentful
Create an OAuth application in your Contentful account to obtain the Client ID and Client Secret needed for the connection.
Sign in to Contentful
Sign in to your Contentful account.
- Click your profile avatar in the top-right corner and select Account settings.
Open the OAuth applications page
Navigate to the OAuth applications tab in Account settings.
- Click + Create application in the top-right of the OAuth applications page.
Fill in the application details
Provide the application name, description, redirect URI, and expiration date.
- Name: e.g.,
StackOne - Description: Enter a description for the application, e.g.,
StackOne integration(required). - Redirect URI:
https://api.stackone.com/connect/oauth2/contentful/callback - Expiration date: Set the token expiration duration (required, default: 30 days).
- Check Confidential — required because StackOne authenticates using the Client ID and Client Secret. If left unchecked, the app becomes a public client and the connection will fail.
- Check Manage if you plan to use the
content_management_managescope (this already includes read access, so the Read checkbox is not needed), or check Read alone if you plan to usecontent_management_read. The checkbox must match the scope you request — leaving the matching checkbox unchecked causes an authorization error. - Click Create application.
Select an OAuth scope
Choose the scope that the OAuth application will request. content_management_manage grants full read and write access; content_management_read is read-only. Scopes are entered on the StackOne side, not in Contentful.
Choose a scope
Contentful accepts only a single scope per OAuth request — providing multiple values returns an authorization error. Pick one scope based on the operations your connection needs and enter it in the Scopes field when creating the Connector Profile in StackOne.
content_management_manage— full read and write access. Already includes read access, so do not also requestcontent_management_read.content_management_read— read-only access.
Creating the StackOne Connector Profile
To create the Connector Profile in StackOne for Contentful:Navigate to Connector Profiles