> ## 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.

# Loket OAuth 2.0 (Authorization Code) connector profile – StackOne setup guide

> Set up the OAuth 2.0 (Authorization Code) connector profile for Loket in StackOne. One-time admin setup required before your users can link Loket accounts via Hub.

<Warning>Becoming a Loket integration partner requires approval from Loket. Contact [api@loket.nl](mailto:api@loket.nl) to start the partnership process.</Warning>

<section data-guide-section data-guide-scopes="">
  <h2>Become a Loket Integration Partner</h2>

  <p>To use the Loket API, you must first register as an integration partner with Loket.</p>

  <Steps>
    <Step title="Request Partnership">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Visit <a href="https://loket.nl/koppelingen/koppelen-met-loket/" target="_blank" rel="noopener noreferrer">loket.nl/koppelingen/koppelen-met-loket</a> and complete the partner registration form.</p>
      </div>
    </Step>

    <Step title="Receive Credentials">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Once approved, Loket will provide your OAuth client credentials for the acceptance environment.</p>

        <ul>
          <li><strong>Client ID</strong> — the unique identifier for your OAuth application</li>
          <li><strong>Client Secret</strong> — your application secret (keep this secure)</li>
          <li><strong>User credentials</strong> — a test user for the acceptance environment</li>
        </ul>
      </div>
    </Step>

    <Step title="Register Redirect URI">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Ask Loket to register the following redirect URI for your client.</p>

        <ul>
          <li>Redirect URI: `https://api.stackone.com/connect/oauth2/loket/callback`</li>
        </ul>
      </div>
    </Step>
  </Steps>
</section>

<section data-guide-section data-guide-scopes="">
  <h2>Connect Loket to StackOne</h2>

  <p>Enter your Loket client credentials to complete the connection.</p>

  <Steps>
    <Step title="Enter Client ID and Client Secret">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Paste the <strong>Client ID</strong> and <strong>Client Secret</strong> from Loket.</p>
      </div>
    </Step>

    <Step title="Authorize the Connection">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Click <strong>Connect</strong> and sign in with your Loket user credentials when prompted. Review and accept the consent screen.</p>
      </div>
    </Step>
  </Steps>
</section>

## Creating the StackOne Connector Profile

To create the Connector Profile in StackOne for <strong>Loket</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>Loket</strong></li>
      <li>Select <strong>Type</strong> as <strong>OAuth 2.0 (Authorization Code)</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>Loket</strong>.
