> ## 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 the OAuth 2.0 connector profile for Capsule CRM in StackOne. One-time admin setup required before your users can link Capsule CRM accounts via Hub.

<section data-guide-section data-guide-scopes="">
  <h2>Registering an OAuth Application</h2>

  <p>To use OAuth 2.0 authentication, you need to register an application on the Capsule developer portal to obtain your Client ID and Client Secret.</p>

  <Steps>
    <Step title="Open the application registration page">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Go to the <a href="https://developer.capsulecrm.com/clients/new" target="_blank" rel="noopener noreferrer">Capsule Developer Portal</a> to register a new application.</p>
      </div>
    </Step>

    <Step title="Fill in application details">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Complete the form with the following details.</p>

        <ul>
          <li><strong>Name</strong> (required): Enter a name for your application (e.g., StackOne Integration).</li>
          <li><strong>Description</strong> (required): Describe your application and the integration.</li>
          <li><strong>URL</strong>: Enter your application's landing page URL (optional).</li>
          <li><strong>Redirect URL</strong>: Enter `https://api.stackone.com/connect/oauth2/capsulecrm/callback`</li>
          <li><strong>Contact Email</strong> (required): Enter a valid contact email address.</li>
          <li><strong>Application Type</strong> (required): Select <strong>Web Application</strong>.</li>
        </ul>
      </div>
    </Step>

    <Step title="Save your credentials">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>After registering the application, you will be shown your Client ID and Client Secret.</p>

        <ul>
          <li>Copy both the <strong>Client ID</strong> and <strong>Client Secret</strong>.</li>
          <li>Store them securely for use later.</li>
          <li>The Client Secret must be kept server-side and never shared in source code.</li>
        </ul>
      </div>
    </Step>
  </Steps>
</section>

## Creating the StackOne Connector Profile

To create the Connector Profile in StackOne for <strong>Capsule CRM</strong>:

<Steps>
  <Step title="Navigate to Connector Profiles">
    Login to StackOne and navigate to [Connector Profiles](https://app.stackone.com/connector_profiles)
  </Step>

  <Step title="Create New Connector Profile">
    <ul>
      <li>Click <strong>+ Connector Profile</strong></li>
      <li>Search for and select <strong>Capsule CRM</strong></li>
      <li>Select <strong>Type</strong> as <strong>OAuth 2.0</strong></li>

      <li>
        Fill out the fields using details retrieved from your provider:

        <ul style={{ marginLeft: '20px' }}>
          <li><strong>Client ID</strong></li>
          <li><strong>Client Secret</strong></li>
        </ul>
      </li>

      <li>(Optional) Select <strong>Actions</strong> to be enabled for this Connector Profile</li>
      <li>Click <strong>Create profile</strong></li>
    </ul>
  </Step>
</Steps>

Congratulations! The new Connector Profile will now show up in your project ready to be used. You can now continue to <a href="/guides/accounts-section#linking-accounts">Link Accounts</a> for <strong>Capsule CRM</strong>.
