Setup
Connect to your Attio app for OAuth.
To setup your Attio app in Cobalt for OAuth, you will need the following credentials from your Attio Developer Settings:
- Client ID
- Client Secret
- Scopes
Pre-requisites
- Attio account. You can create one here.
Creating an app in Attio
To create a Attio app and aquire the above mentioned credentials, please follow the steps mentioned below:
- Log in to your Attio Account.
- Click on the
Company
name in the top left corner and selectWorkspace Settings
option.
-
Go to
Developers
underWorkspace
in the side menu and click onCreate a new integration
button. -
Enter the
Integration Name
for your application and click onCreate
. -
Go to your
Apps catalog
in Cobalt > Search forAttio
>Settings
>Use your credentials
>Callback Url
> Copy it. -
Go to
OAuth
in the App > Toggle onOAuth Enabled
option > Click on+ add new Redirect URI
> Paste the Callback URL and click onAdd Redirect URI
. -
Copy the Client ID and Client Secret from the
OAuth
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.
Configuring Scopes
Cobalt lets you configure what permissions to ask from your users while they install your application. The scopes can be added or removed from the App settings page, under Permissions & Scopes
section.
For some applications Cobalt sets mandatory scopes which cannot be removed. Additional scopes can be selected from the drop down. Cobalt also has the provision to add any custom scopes supported by the respective platform.
Once the scopes has been added to the application in Cobalt, go to your Attio Developer Settings and update the scopes as added on Cobalt.
Select the OAuth App created for Cobalt > Click on Scopes
section > Add the scopes as added in Cobalt.
If you are facing scopes missing or invalid scope error. Make sure you are not passing any custom scope not supported by the platform. And, the scopes selected here are identical to the ones selected in the platform.
App Review for Attio
The integration is currently private and only usable by your workspace. To distribute your integration for use in other workspaces, you need to request a review from Attio team.
- Go to
Publication
section in the OAuth app and click onRequest publication
.
Before requesting the publication of your app, make sure to add all the information like App name, description, scopes and logo of the app.
Actions and triggers
Once the above setup is completed, you can create orchestrations of your use-cases using Attio actions and triggers. Following are the set of Attio actions and triggers supported by Cobalt.