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

# Connect Pinpoint with API Key – StackOne Hub

> Link a Pinpoint account in the StackOne Hub using API Key. End-user guide to authorize the integration and start using Pinpoint actions.

<Warning>Ensure you have Admin privileges for your Pinpoint account.</Warning>

<section data-guide-section data-guide-scopes="">
  <h2>Getting Your Subdomain</h2>

  <p>Your Pinpoint subdomain is part of the URL you use to access your account.</p>

  <Steps>
    <Step title="Find the Subdomain">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>In the URL bar of your browser, find the subdomain by selecting the text in front of `.pinpointhq.com`.</p>

        <ul>
          <li>For example, if your URL is `https://acme.pinpointhq.com`, your subdomain is `acme`</li>
        </ul>
      </div>
    </Step>
  </Steps>
</section>

<section data-guide-section data-guide-scopes="">
  <h2>Generating API Key</h2>

  <p>Generate an API key from your Pinpoint account settings.</p>

  <Steps>
    <Step title="Access API Settings">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Sign in to your <a href="https://app.pinpointhq.com" target="_blank" rel="noopener noreferrer">Pinpoint account</a>.</p>

        <ul>
          <li>Click <strong>Settings</strong> in the left sidebar</li>
          <li>Select <strong>API & Webhooks</strong></li>
          <li>Ensure the <strong>Pinpoint API</strong> toggle in the top-right corner is enabled</li>
        </ul>
      </div>
    </Step>

    <Step title="Create a New API Key">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Navigate to the <strong>API Keys</strong> tab.</p>

        <ul>
          <li>Click <strong>Create New</strong></li>
          <li>Enter a name for the API Key (e.g., "StackOne")</li>
          <li>Assign permissions (Read for read-only access, or Write and Delete for full access)</li>
          <li><strong>Important:</strong> You must enable at least <strong>Job - Read</strong> permission to establish the connection</li>
          <li>Click <strong>Create API Key</strong></li>
        </ul>
      </div>
    </Step>

    <Step title="Copy the API Key">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Your API Key will be generated and displayed. Copy the API Key and store it securely for use later.</p>
      </div>
    </Step>
  </Steps>
</section>

<div data-whitelabel-hide>
  <h2>Linking the Account from the Hub</h2>

  <Steps>
    <Step title="Navigate to the Hub">
      Use one of the three <a href="/guides/accounts-section#linking-accounts">Linking Account Methods</a> to access the Hub.
    </Step>

    <Step title="Fill out the fields">
      Fill out the following fields using details from your provider:

      <ul>
        <li><strong>Subdomain</strong></li>
        <li><strong>API Key</strong></li>
      </ul>
    </Step>

    <Step title="Connect">
      <ul>
        <li>Click <strong>Connect</strong></li>
        <li>If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider's authorization flow.</li>
        <li>Once authorization is successful, you will see a confirmation popup</li>
      </ul>
    </Step>
  </Steps>

  <p>If the account linking is successful, you will see the newly linked account in your <a href="/guides/accounts-section">Accounts</a> page.</p>
</div>
