> ## 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 Wrangle with API Token – StackOne Hub

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

<section data-guide-section data-guide-scopes="">
  <h2>Sign In to the Wrangle Web App</h2>

  <p>Wrangle uses Slack (or Microsoft Teams) as its identity provider — there is no separate Wrangle password.</p>

  <Steps>
    <Step title="Open the Wrangle Login Page">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Open the <a href="https://slack.wrangle.io/auth/login" target="_blank" rel="noopener noreferrer">Wrangle login page</a> in your browser.</p>
      </div>
    </Step>

    <Step title="Authorize Wrangle via Slack">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Click <strong>Log In With Slack</strong>. Slack will ask you to review the Wrangle app's requested permissions.</p>

        <ul>
          <li>If you are not already signed in to Slack, complete the Slack login first.</li>
          <li>On the Slack consent page, choose the workspace you want to connect (e.g., your StackOne sandbox workspace).</li>
          <li>Click <strong>Allow</strong> to grant Wrangle access to that workspace.</li>
        </ul>
      </div>
    </Step>

    <Step title="Land on the Wrangle Dashboard">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>You are now signed in at <a href="https://slack.wrangle.io/" target="_blank" rel="noopener noreferrer">slack.wrangle.io</a>.</p>
      </div>
    </Step>
  </Steps>
</section>

<section data-guide-section data-guide-scopes="">
  <h2>Open the Wrangle API Integration Page</h2>

  <p>All three credentials are shown on the Wrangle API integration page in the Wrangle web app.</p>

  <Steps>
    <Step title="Navigate to Integrations">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>From the Wrangle dashboard, find the Integrations entry in the left sidebar.</p>

        <ul>
          <li>In the left sidebar, expand <strong>Integrations</strong>.</li>
          <li>Click the <strong>Wrangle API</strong> sub-item.</li>
        </ul>
      </div>
    </Step>

    <Step title="Copy Your Credentials">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>The Wrangle API page lists all three values you need. Paste each one into the matching StackOne field.</p>

        <ul>
          <li>Copy the <strong>API Token</strong> (click the <strong>show</strong> link next to it to reveal the value; it changes to <strong>hide</strong> after clicking). Paste it into the <strong>API Token</strong> field in StackOne. Treat it like a password and do not share it outside your company.</li>
          <li>Copy the <strong>slackWorkspaceId</strong> value — this maps to the <strong>Slack Workspace ID</strong> field in StackOne.</li>
          <li>Copy the <strong>slackUserId</strong> value — this maps to the <strong>Slack User ID</strong> field in StackOne. It identifies the Slack user the Wrangle API will act on behalf of.</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 Token</strong></li>
        <li><strong>Slack User ID</strong></li>
        <li><strong>Slack Workspace 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>
