Setup
Connect to your Contentful app for OAuth.
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
- Contentful Developer account. You can create one here.
Required Settings
- Mandatory Scopes
- content_management_manage
Creating an app in Contentful
To create a Contentful app and aquire 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 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.