> ## 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 Remote with API Token – StackOne Hub

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

<Warning>Only a company admin or company owner can create and revoke API tokens.</Warning>

<section data-guide-section data-guide-scopes="">
  <h2>Generate an API token</h2>

  <p>An API token authenticates requests to Remote's API.</p>

  <Steps>
    <Step title="Sign in to Remote">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Sign in to your <a href="https://employ.remote.com/" target="_blank" rel="noopener noreferrer">Remote account</a>.</p>

        <ul>
          <li>From the left navigation panel, navigate to <strong>Company</strong> → <strong>Company Settings</strong> → <strong>Integrations & APIs</strong>.</li>
          <li>Click the <strong>Remote API</strong> card.</li>
        </ul>
      </div>
    </Step>

    <Step title="Generate a new API token">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Click the <strong>Generate API token</strong> button.</p>

        <ul>
          <li>Enter a descriptive name for your token (e.g., "StackOne Integration").</li>
          <li>Under <strong>Endpoint collections</strong>, select either <strong>Read Only</strong> or <strong>Full Access</strong>. At least one permission level is required for the connection to work.</li>
          <li>Review and agree to the <strong>Remote API Terms of Use</strong>.</li>
          <li>Click <strong>Generate</strong> to create the token.</li>
        </ul>
      </div>
    </Step>

    <Step title="Copy the API token">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Your new API token will appear in the tokens table.</p>

        <ul>
          <li>Click the three-dot menu next to the token and select <strong>Copy token</strong>.</li>
          <li>Store it securely for use later.</li>
        </ul>
      </div>
    </Step>
  </Steps>
</section>

<section data-guide-section data-guide-scopes="">
  <h2>Select your environment</h2>

  <p>The environment must match your Remote account type and API token prefix.</p>

  <ul>
    <li>Select <strong>Production</strong> if you are using a live Remote account. Production API tokens are prefixed with `ra_live_`.</li>
    <li>Select <strong>Sandbox</strong> if you are using a Remote sandbox account for testing. Sandbox API tokens are prefixed with `ra_test_`.</li>
    <li>The environment must match the token type — a sandbox token will not work with the Production environment, and vice versa.</li>
  </ul>
</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>API Token</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>
