Setup
Connect to your Calendly app for OAuth.
To setup your Calendly app in Cobalt for OAuth, you will need the following credentials from your Calendly Developer Portal:
- Client ID
- Client Secret
- Scopes
Pre-requisites
- Calendly Developer account. You can create one here.
Creating an app in Calendly
To create a Calendly app and aquire the above mentioned credentials, please follow the steps mentioned below:
- Log in to your Calendly Developer Portal.
- Click on the
Profile
icon in the top right, selectMy Apps
and click on the+ Create new app
button.
![Navigation for App setup](https://mintlify.s3-us-west-1.amazonaws.com/cobalt-55/images/Calendly/calendly_navigation.png)
- Go to your
Apps catalog
in Cobalt > Search forCalendly
>Settings
>Use your credentials
>Callback Url
> Copy it. - After clicking on
+ Create new app
button, enter the App Name, selectKind of app
as Web, chooseEnvironment Type
, paste the Callback Url underRedirect URI
and click onSave and continue
. - Copy the Client ID and Client Secret displayed.
![Getting Credentials](https://mintlify.s3-us-west-1.amazonaws.com/cobalt-55/images/Calendly/calendly_credentials.png)
Client Secret and Webhook signing key will be visible only once, so make ensure that they are copied and saved somewhere for future reference.
Configuring credentials in Cobalt
App settings page lets you configure the authentication settings for an OAuth2
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.
![Setting up application client credentials](https://mintlify.s3-us-west-1.amazonaws.com/cobalt-55/images/Calendly/calendly_cobalt.png)
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 Calendly actions and triggers. An action with any API of Calendly can be created by using the HTTP Request Action.