Setup
Connect to your Harvest app for OAuth.
Cobalt offers both Key Based and OAuth 2.0 integration for Harvest. In this guide, we will look at the OAuth App setup process.
To setup your Harvest app in Cobalt for OAuth, you will need the following credentials from your Harvest Developer account:
- Client ID
- Client Secret
Pre-requisites
- Harvest Developer account. You can create one here.
Creating an app in Harvest
To create a Harvest app and aquire the above mentioned credentials, please follow the steps mentioned below:
- Log in to your Harvest Developer account.
- Click on the
Developers
icon in the top nav bar and click onCreate new OAuth2 application
button under OAuth2 Applications section.
-
Go to your
Apps catalog
in Cobalt > Search forHarvest
>Settings
>Use your credentials
>Callback Url
> Copy it. -
Provide an app
Name
> Paste the Callback Url underRedirect URL
> ChooseAccess
as I can work with multiple accounts > Click onCreate Application
. -
Copy the Client ID and Client Secret from the
Parameters
section.
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 Harvest actions and triggers. Following are the set of Harvest actions and triggers supported by Cobalt.