Setup
Connect to your Notion app for OAuth.
To setup your Notion app in Cobalt for OAuth, you will need the following credentials from your Notion Integrations Page:
- Client ID
- Client Secret
- Scopes
Pre-requisites
- Notion account. You can create one here.
Required Settings
- Mandatory Scopes
- Read user information including email address
- Insert comments
Creating an app in Notion
To create a Notion app and aquire the above mentioned credentials, please follow the steps mentioned below:
- Log in to your Notion Integrations Page.
- Click on
+ New integration
button in the left.
- Select a workspace, give the app a Name and click on the
Submit
button. - Navigate to
Capabilities
in the left menu, select the mandatory scopes and click onSave changes
.
Scopes or Permissions for Notion app can be configured only through the Capabilities
section of the app in Notion Integrations Page.
- Go to your
Apps catalog
in Cobalt > Search forNotion
>Settings
>Use your credentials
>Callback Url
> Copy it.
To get the Client ID and Client Secret in Notion, the app needs to made public.
- Navigate to
Distribution
and Enable to make the integration public. Fill the required information about organization and paste the Callback Url underRedirect URIs
in OAuth Domains and URIs section. Click onSubmit
. - Navigate to
Secrets
and copy the OAuth client ID and OAuth client secret.
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 Notion actions and triggers. Following are the set of Notion actions and triggers supported by Cobalt.