> ## 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 TikTok Ads with Sandbox Access Token – StackOne Hub

> Link a TikTok Ads account in the StackOne Hub using Sandbox Access Token. End-user guide to authorize the integration and start using TikTok Ads actions.

<Warning>A TikTok for Business developer app is required to access the sandbox.</Warning>

<section data-guide-section data-guide-scopes="">
  <h2>Get Sandbox Credentials</h2>

  <p>Each TikTok for Business developer app includes a sandbox environment for safe testing.</p>

  <Steps>
    <Step title="Open your app in the Developer Portal">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Go to the <a href="https://business-api.tiktok.com/portal" target="_blank" rel="noopener noreferrer">TikTok for Business Developer Portal</a>, click <strong>My Apps</strong>, and click your app name to open the App Detail page.</p>
      </div>
    </Step>

    <Step title="Go to Sandbox Ad Account">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>In the left sidebar under <strong>App Detail</strong>, click <strong>Sandbox Ad Account</strong>. This page shows your sandbox environment details including Account Name, Advertiser ID, Country, Currency, and Time Zone.</p>

        <ul>
          <li>The sandbox environment is completely isolated from production -- changes here will not affect real ad accounts or be delivered, clicked, or charged</li>
          <li>Sandbox base URL is `https://sandbox-ads.tiktok.com/open_api/` (different from production `https://business-api.tiktok.com/open_api/`)</li>
        </ul>
      </div>
    </Step>

    <Step title="Copy Advertiser ID">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>On the Sandbox Ad Account page, find the <strong>Advertiser ID</strong> field and copy the numeric value.</p>
      </div>
    </Step>

    <Step title="Generate Access Token">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>On the same page, find the <strong>Access Token</strong> section and click the <strong>Generate</strong> button to create a new sandbox access token.</p>

        <ul>
          <li>Copy the generated token and store it securely for use later</li>
          <li>You can click <strong>Generate</strong> to create a new token at any time</li>
          <li>Use <strong>Revoke All</strong> to invalidate all existing sandbox tokens</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>Sandbox Access Token</strong></li>
        <li><strong>Sandbox Advertiser ID</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>
