To setup your Contentful app in Cobalt for OAuth, you will need the following credentials from your Contentful Developer account:

  • Client ID
  • Client Secret
  • Scopes

Pre-requisites

  1. Contentful Developer account. You can create one here.

Required Settings

  • Mandatory Scopes
  1. 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 aquire the above mentioned credentials, please follow the steps mentioned below:

  1. Log in to your Contentful Developer account.
  2. Click on your Profile in the top right corner, select Account Settings and switch to OAuth applications tab.
  1. Click on New Application button and provide a Name and Description of the app.
  2. Go to your Apps catalog in Cobalt > Search for Contenful > Settings > Use your credentials > Callback Url > Copy it.
  3. Paste the copied Callback Url in the Redirect URI field of the app creation form.
  4. Select Content management manage and Confidential checkbox and click on the Create Application button.
  1. Copy the Client ID and Client Secret displayed.

Configuring credentials in Cobalt

App settings page lets you configure the authentication settings for an OAuth 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.

Cobalt lets you use pre-configured applications to play around. You can do so by selecting Use our credentials. However, if you wish to use your own application, select Use your own credentials. Provide the aquired Client Id and Client secret and save it.

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.