Setup
Connect to your Front app for OAuth.
Cobalt offers both Key Based and OAuth 2.0 integration for Front. In this guide, we will look at the OAuth App setup process.
To setup your Front app in Cobalt for OAuth, you will need the following credentials from your Front Developer account:
- Client ID
- Client Secret
- App Secret
Pre-requisites
- Front account. You can create one here.
Creating an app in Front
To create a Front app and aquire the above mentioned credentials, please follow the steps mentioned below:
- Log in to your Front Developer account.
- Click on the
Settings
icon in the top right and selectDevelopers
from the side menu.
- Click on
Create App
button > enter theApp Name
andShort Description
and click onCreate
. - Go to your
Apps catalog
in Cobalt > Search forFront
>Settings
>Use your credentials
>Callback Url
> Copy it. - Go to
OAuth
tab in your app > click onAdd Redirect URL
> Paste the Callback Url and click onSave
. - Copy the Client ID and Client Secret from the App Credentials section in
OAuth
tab.
- Navigate to
Basic information
tab in the app > Scroll down and copy theApp secret
present.
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, Client secret and App secret and save it.
Front Single Webhook URL
If you wish to create an orchestration where a workflow is being triggered when some operation occurs in Front, you’d need to subscribe to Front’s Webhook. Cobalt provides a single webhook URL to manage such event triggers for all your customers.
To setup Front webhook subscription:
- Select Front from the application list in Cobalt, and select
Settings
. - Provide the
Client ID
,Client Secret
andApp Secret
> Copy theSingle Webhook Url
and click onSave
.
Front Webhooks required App secret for verification and registration of Webhooks.
- Select your OAuth app > Go to
Features
tab > SelectWebhook
in your Front Developer Dashboard > Click onCreate Webhook
. - Paste the Single Webhook Url inside the
Webhook URL
section, select the relevant events inSubscribed events
dropdown and click onCreate
.
Making Front App Public
To make the Front app available to all the users outside your organization, the app needs to go through a review process.
To submit your app for review, fill out the form provided by Front here.
To learn more about the App Review process, refer here.
Actions and triggers
Once the above setup is completed, you can create orchestrations of your use-cases using Front actions and triggers. Following are the set of Front actions and triggers supported by Cobalt.