> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Capsule CRM OAuth 2.0 connector profile – StackOne setup guide

> Set up a connector profile using OAuth 2.0 for Capsule CRM in StackOne to allow users to link their accounts.

Select Actions to adjust the guideSome actions may require additional configuration in the provider to be accessible. Choose the actions you need and the guide will be updated.

Select all
Clear

ActionScope(s)

Loading actions...No actions match your search.

Dynamic Guide URL

Copy URL

Scopes Selected

<pre role="textbox" aria-readonly="true" tabIndex="0" />

Separator

Copy scopes

## Registering an OAuth application

Register an application on the Capsule Developer Portal to obtain the Client ID and Client Secret that StackOne uses to connect accounts.

**1. Sign in to the Capsule Developer Portal**

Sign in to the [Capsule Developer Portal](https://developer.capsulecrm.com/clients).

<ul>
  <li>The portal signs you in with GitHub, not with your Capsule account — on the **Sign in** page, click **Login using Github**.</li>
  <li>The page states: To get started or to view your existing apps, please login with your Github username and password.</li>
  <li>If you are already signed in, you go straight to **Your Applications**.</li>
</ul>

![The Capsule Developer Portal sign in page with the Login using Github button highlighted](https://mintcdn.com/stackone-60/HeDSLnE7GC4puCp5/connectors/capsulecrm/images/oauth2-setup-sign-in.png?fit=max\&auto=format\&n=HeDSLnE7GC4puCp5\&q=85\&s=22ab3ab8591c0a7e19a1beb9b0522c2f)

**2. Open the new application form**

On the **Your Applications** page, click **New Application**.

![The Your Applications page with the New Application button highlighted](https://mintcdn.com/stackone-60/HeDSLnE7GC4puCp5/connectors/capsulecrm/images/oauth2-setup-new-application.png?fit=max\&auto=format\&n=HeDSLnE7GC4puCp5\&q=85\&s=df42a22e0b8b968168d83914624ee529)

**3. Fill in the application details**

Complete the **Create a new application** form.

<ul>
  <li>**Name**: a name for the application, such as `StackOne Integration`</li>
  <li>**Description**: describe your application and the integration, such as `Integration with StackOne`</li>
  <li>**URL**: the landing page for your application — this one is optional</li>
  <li>**Redirect URL**: the **Callback URL** from your Connector Profile</li>
  <li>**Contact Email**: an address the Capsule team can use as a point of contact</li>
  <li>Under **Application Type**, select **Web Application** — StackOne runs on secure servers and keeps the Client Secret confidential.</li>
  <li>Click **Save**.</li>
</ul>

![The Create a new application form completed, with the form fields and the Save button highlighted](https://mintcdn.com/stackone-60/HeDSLnE7GC4puCp5/connectors/capsulecrm/images/oauth2-setup-application-details.png?fit=max\&auto=format\&n=HeDSLnE7GC4puCp5\&q=85\&s=0a5c43309d757d58e5fdc431271fe8eb)

**4. Copy the Client ID and Client Secret**

The application page shows the credentials. Click the copy icon beside **Client ID** and beside **Client Secret**, then paste each value into the matching field in the StackOne Connector profile.

<ul>
  <li>Store both values securely for use later.</li>
  <li>Keep the **Client Secret** server-side and never commit it to source control.</li>
  <li>If the secret is ever exposed, click **Reset Secret** to issue a new one — existing connections will need updating.</li>
</ul>

![The application page with the Client ID and Client Secret values hidden and their copy buttons highlighted](https://mintcdn.com/stackone-60/HeDSLnE7GC4puCp5/connectors/capsulecrm/images/oauth2-setup-copy-credentials.png?fit=max\&auto=format\&n=HeDSLnE7GC4puCp5\&q=85\&s=31dcf8555eb631a6fdda92a2ec169463)

## Choosing OAuth scopes

The **Scopes** field in the StackOne Connector profile controls the permissions StackOne requests when a user authorizes the connection. Capsule has no scope settings on the application itself — the scopes are requested at authorization time.

**1. Select the scopes to request**

Enables actions: Add Party To Opportunity, Add Party To Project, Archive Board, Archive Pipeline, Create Board, Create Entry, Create Milestone, Create Opportunity, Create Opportunity Custom Field, Create Opportunity Tag, Create Party, Create Party Custom Field, Create Party Tag, Create Pipeline, Create Project, Create Project Custom Field, Create Project Tag, Create Stage, Create Task, Create Task Category, Create Track, Create Track Definition, Delete Entry, Delete Milestone, Delete Opportunity, Delete Opportunity Custom Field, Delete Opportunity Tag, Delete Party, Delete Party Custom Field, Delete Party Tag, Delete Project, Delete Project Custom Field, Delete Project Tag, Delete Stage, Delete Task, Delete Task Category, Delete Track Definition, Duplicate Pipeline, Filter Opportunities, Filter Parties, Filter Projects, Get Attachment, Get Board, Get Current User, Get Entry, Get Milestone, Get Multiple Opportunities, Get Multiple Parties, Get Multiple Pipelines, Get Multiple Projects, Get Opportunity, Get Opportunity Custom Field, Get Opportunity Tag, Get Party, Get Party Custom Field, Get Party Tag, Get Pipeline, Get Project, Get Project Custom Field, Get Project Tag, Get Site, Get Stage, Get Task, Get Task Category, Get Team, Get Track Definition, Get Unified Credentials, Get Unified Group, Get Unified Organization, Get Unified User, Get User, List Activity Types, List Board Stages, List Boards, List Deleted Opportunities, List Deleted Parties, List Deleted Projects, List Entries, List Lost Reasons, List Milestones, List Opportunities, List Opportunity Custom Fields, List Opportunity Entries, List Opportunity Parties, List Opportunity Projects, List Opportunity Tags, List Parties, List Party Custom Fields, List Party Employees, List Party Entries, List Party Opportunities, List Party Projects, List Party Tags, List Pipeline Milestones, List Pipelines, List Project Custom Fields, List Project Entries, List Project Parties, List Project Tags, List Projects, List Stages, List Task Categories, List Tasks, List Teams, List Track Definitions, List Tracks, List Unified Groups, List Unified Organizations, List Unified Users, List Users, Remove Party From Opportunity, Remove Party From Project, Restore Board, Restore Pipeline, Search Opportunities, Search Parties, Search Projects, Update Board, Update Entry, Update Milestone, Update Opportunity, Update Opportunity Custom Field, Update Opportunity Tag, Update Party, Update Party Custom Field, Update Party Tag, Update Pipeline, Update Project, Update Project Custom Field, Update Project Tag, Update Stage, Update Task, Update Task Category, Update Track Definition, Update User, Upload Attachment

Leave **Scopes** empty to use the default of `read write`, or enter the scopes this integration needs as a space-separated list. `write` and `user_preference` each include `read`.

<ul>
  <li>
    read
  </li>

  <li>
    write
  </li>

  <li>
    user\_preference
  </li>
</ul>

## Create the StackOne Connector Profile

**1. Create a Connector Profile**

Enable the connector and create a Connector Profile in your project. See [Setup Connector Profile](https://docs.stackone.com/gateway/quickstart.md#setup-connector-profile).

**2. Link an Account**

Once the Connector Profile is created, continue to [link an account](https://docs.stackone.com/connectors/capsulecrm/guides/link-account/oauth-2-0.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.