Setup
Connect to your Deel app for OAuth.
Cobalt offers both Key Based and OAuth 2.0 integration for Deel. In this guide, we will look at the OAuth App setup process.
To setup your Deel app in Cobalt for OAuth, you will need the following credentials from your Deel Developer Center:
- Client ID
- Client Secret
- Scopes
Pre-requisites
- Deel Developer account. You can create one here.
Required Settings
- Mandatory Scopes
- Users:read
Creating an app in Deel
To create a Deel app and acquire the above mentioned credentials, please follow the steps mentioned below:
- Log in to your Deel Developer Center.
- Go to
App Store
in the side menu > Click onDeveloper Center
in the top right > Go toApps
tab.
-
Click on
Create New App
button. -
Go to your
Apps catalog
in Cobalt > Search forDeel
>Settings
>Use your credentials
>Callback Url
> Copy it. -
In the app, choose
App Type
as Organization, enter theApp Name
andDescription
, paste the Callback Url underRedirect URL
, provide anApp Icon
and clickCreate
. -
Copy the
Key
(Client ID) andSecret
(Client Secret) displayed on the screen.Copy the Client ID and Secret as it will not be visible again.
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.
Provide the acquired Client ID and Client Secret under Settings of the app and save it.
Actions and triggers
Once the above setup is completed, you can create orchestrations of your use-cases using Deel actions and triggers. Following are the set of Deel actions and triggers supported by Cobalt.
- Contract Created - Triggers when a contract is created on Deel.
- Contract Status Updated - Triggers when a contract status is updated on Deel.
- Contract Terminated - Triggers when a contract is terminated on Deel.
- Invoice Adjustment Created - Triggers when an invoice adjustment is created on Deel.
- Timesheet Created - Triggers when a timesheet is created on Deel.
- Timesheet Reviewed - Triggers when a timesheet is reviewed on Deel.
- Time-off reviewed - Triggers when a time-off is reviewed on Deel.
- Time-off Updated - Triggers when a time-off is updated on Deel.