> ## 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 Postmark with API Tokens – StackOne Hub

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

<section data-guide-section data-guide-scopes="">
  <h2>Get Your Postmark API Tokens</h2>

  <p>To connect Postmark with StackOne, you need your Server API Token. Optionally, provide an Account API Token for account-level management.</p>

  <Steps>
    <Step title="Sign in to Postmark">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Go to <a href="https://account.postmarkapp.com" target="_blank" rel="noopener noreferrer">Postmark</a> and sign in with your account credentials.</p>
      </div>
    </Step>

    <Step title="Copy the Server API Token">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>From the Servers page, click on the server you want to connect. Navigate to the <strong>API Tokens</strong> tab and copy the <strong>Server API token</strong>.</p>

        <ul>
          <li>The Server API Token is accessible by Account Owners, Account Admins, and Server Admins.</li>
          <li>You can use `POSTMARK_API_TEST` as a test token to validate requests without sending real emails.</li>
        </ul>
      </div>
    </Step>

    <Step title="Copy the Account API Token">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Click on <strong>Account</strong>, then go to <strong>API Tokens</strong> tab. Copy the <strong>Account API token</strong> displayed on the page. This is only needed if you want to manage servers, sender signatures, and domains.</p>

        <ul>
          <li>The Account API Token is accessible only by Account Owners and Account Admins.</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>Server API Token</strong></li>
        <li><strong>Account API Token</strong> (Optional)</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>
