> ## 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 Heap with App (Environment) ID – StackOne Hub

> Link a Heap account in the StackOne Hub using App (Environment) ID. End-user guide to authorize the integration and start using Heap actions.

<section data-guide-section data-guide-scopes="">
  <h2>Find Your App (Environment) ID</h2>

  <p>The App (Environment) ID (also called Environment ID) is required to authenticate all Heap server-side API calls.</p>

  <Steps>
    <Step title="Locate App (Environment) ID">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Sign in to <a href="https://heapanalytics.com/app" target="_blank" rel="noopener noreferrer">Heap</a>, then navigate to <strong>Account</strong> > <strong>Manage</strong> > <strong>Projects</strong> from the left sidebar.</p>

        <ul>
          <li>Each environment (Production, Development, etc.) has its own unique App (Environment) ID named as <strong>ID</strong> just below the environment name.</li>
          <li>Copy the App (Environment) ID for the environment you want to connect.</li>
          <li>Use the <strong>Development</strong> environment for testing to avoid polluting production data.</li>
        </ul>
      </div>
    </Step>
  </Steps>
</section>

<section data-guide-section data-guide-scopes="">
  <h2>Select Your Data Region</h2>

  <p>Choose the region that matches where your Heap data is hosted.</p>

  <Steps>
    <Step title="Identify Region">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Check your Heap account settings or contract to determine your data region.</p>

        <ul>
          <li><strong>US</strong> (default) - Most accounts use the US region</li>
          <li><strong>EU</strong> - Select this if your Heap instance is hosted in the EU data center</li>
        </ul>
      </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>App (Environment) ID</strong></li>
        <li><strong>Region</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>
