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

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

<Warning>You must have a Trello Power-Up to generate an API key. Visit [https://trello.com/power-ups/admin](https://trello.com/power-ups/admin) to create one if you don't have one yet.</Warning>

<section data-guide-section data-guide-scopes="">
  <h2>Get your API key</h2>

  <p>Retrieve your API key from the Power-Ups admin portal.</p>

  <Steps>
    <Step title="Access the Power-Ups admin portal">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Navigate to the <a href="https://trello.com/power-ups/admin" target="_blank" rel="noopener noreferrer">Power-Ups admin portal</a>.</p>

        <ul>
          <li>Select your Power-Up from the list (or click <strong>Create new Power-Up</strong> if you don't have one).</li>
          <li>Click on the <strong>API Key</strong> tab.</li>
        </ul>
      </div>
    </Step>

    <Step title="Copy your API key">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Click <strong>Generate a new API Key</strong> if you haven't created one already, then copy the key.</p>

        <ul>
          <li>Format: 32-character alphanumeric string</li>
          <li>Example: `0a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p`</li>
          <li>Paste the API key into the <strong>API Key</strong> field below</li>
        </ul>
      </div>
    </Step>
  </Steps>
</section>

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

  <p>Generate a long-lived token that grants access to your Trello account.</p>

  <Steps>
    <Step title="Click the Token hyperlink">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>On the same API Key tab, click the <strong>Token</strong> hyperlink next to your API key.</p>

        <ul>
          <li>You will be redirected to the Trello authorization page</li>
        </ul>
      </div>
    </Step>

    <Step title="Authorize the application">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Review the permissions and click <strong>Allow</strong> to generate your token.</p>

        <ul>
          <li>The token will be displayed on the page immediately after clicking <strong>Allow</strong></li>
        </ul>
      </div>
    </Step>

    <Step title="Copy the token">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Copy the token displayed on the confirmation page.</p>

        <ul>
          <li>Format: 64-character alphanumeric string</li>
          <li>Example: `1a2b3c4d5e6f7g8h9i0j1k2l3m4n5o6p7q8r9s0t1u2v3w4x5y6z7a8b9c0d1e2f3g4h`</li>
          <li>Paste the token into the <strong>API Token</strong> field below</li>
          <li>Keep it secret — this token grants full access to the Trello account and should never be shared publicly.</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>API Key</strong></li>
        <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>
