> ## 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 Braze with API Key – StackOne Hub

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

<Warning>Admin or developer permissions required to create and view API keys.</Warning>

<section data-guide-section data-guide-scopes="">
  <h2>Generating a REST API key</h2>

  <p>A REST API key authenticates requests to Braze and requires explicit endpoint permissions.</p>

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

        <ul>
          <li>Navigate to <strong>Settings</strong> > <strong>APIs and Identifiers</strong>.</li>
          <li>Scroll to the <strong>REST API Keys</strong> section.</li>
        </ul>
      </div>
    </Step>

    <Step title="Create new API key">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Click <strong>Create New API Key</strong>.</p>

        <ul>
          <li>API Key Name: `StackOne Integration`</li>
          <li>In the <strong>Permissions</strong> section, select the endpoints you want to access.</li>
          <li>Minimum recommended permissions: `campaigns.list`, `canvas.list`, `users.track`, `users.export.ids`</li>
          <li>Click <strong>Save 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>Copy the generated API key immediately and store it securely for use later.</p>

        <ul>
          <li>The key is visible after creation and can be viewed again in Settings.</li>
          <li>Format: `c1234567-89ab-cdef-0123-456789abcdef`</li>
        </ul>
      </div>
    </Step>
  </Steps>
</section>

<section data-guide-section data-guide-scopes="">
  <h2>Find your REST instance URL</h2>

  <p>Your REST instance URL identifies your Braze data center location.</p>

  <Steps>
    <Step title="Locate instance information">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>In the same <strong>Settings</strong> > <strong>APIs and Identifiers</strong> page.</p>

        <ul>
          <li>Look for the <strong>REST Endpoint</strong> section at the top of the page.</li>
          <li>Copy your instance's REST endpoint URL.</li>
          <li>Format: `https://rest.{instance}.braze.com` or `https://rest.{instance}.braze.eu`</li>
          <li>Example US instance: `https://rest.iad-01.braze.com`</li>
          <li>Example EU instance: `https://rest.fra-01.braze.eu`</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>REST API Key</strong></li>
        <li><strong>REST Instance URL</strong></li>
        <li><strong>App 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>
