- Client ID
- Client Secret
- Scopes
Pre-requisites
- Contentful Developer account. You can create one here.
Required Settings
- Mandatory Scopes
- content_management_manage
If you haven’t already created an app in Contentful, you’d need to create one.
Creating an app in Contentful
To create a Contentful app and acquire the above mentioned credentials, please follow the steps mentioned below:- Log in to your Contentful Developer account.
- Click on your Profile in the top right corner, select
Account Settings
and switch toOAuth applications
tab.

- Click on
New Application
button and provide a Name and Description of the app. - Go to your
Apps catalog
in Cobalt > Search forContenful
>Settings
>Use your credentials
>Callback Url
> Copy it. - Paste the copied Callback Url in the
Redirect URI
field of the app creation form. - Select
Content management manage
andConfidential
checkbox and click on theCreate Application
button.

- Copy the Client ID and Client Secret displayed.

Configuring credentials in Cobalt
App settings page lets you configure the authentication settings for anOAuth 2.0
based application. For your customers to provide you authorization to access their data,
they would first need to install your application. This page lets you set up your application credentials.

Actions and triggers
Once the above setup is completed, you can create orchestrations of your use-cases using Contentful actions and triggers. Following are the set of Contentful actions and triggers supported by Cobalt.Assets
Assets
- Get Assets - Get all assets in Contentful.
- Create Asset - Create a new asset in Contentful.
- Update Asset - Update an asset in Contentful.
Environment Template
Environment Template
- Create Environment Template - Create new Environment Template in Contentful.
- Update Environment Template - Update Environment Template in Contentful.
Files
Files
- Upload File - Upload a Binary File in Contentful.
Spaces
Spaces
- Get Spaces - List all space in Contentful.
- Create Space - Create a new space in Contentful.
Others
Others
- HTTP Request - Make HTTP API calls to any Contentful documented REST APIs.