> ## 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 Dagster with User Token – StackOne Hub

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

<section data-guide-section data-guide-scopes="">
  <h2>Generate a User Token in Dagster+</h2>

  <p>A User Token authenticates requests to Dagster+ on behalf of your user account. It grants access to every deployment your user has permissions for. See <a href="https://docs.dagster.io/deployment/dagster-plus/management/tokens/user-tokens" target="_blank" rel="noopener noreferrer">Dagster+ user token docs</a> for details.</p>

  <Steps>
    <Step title="Sign in to Dagster+">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Sign in to your <a href="https://dagster.cloud" target="_blank" rel="noopener noreferrer">Dagster+ account</a>.</p>
      </div>
    </Step>

    <Step title="Open Organization Settings">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Click your <strong>user avatar in the bottom-left corner</strong> of the Dagster+ sidebar (next to your email). A menu pops up — choose <strong>Organization settings</strong>.</p>
      </div>
    </Step>

    <Step title="Open the Tokens tab">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>In Organization Settings, open the <strong>Tokens</strong> tab and stay in the <strong>Manage tokens for your account</strong> section at the top.</p>
      </div>
    </Step>

    <Step title="Create a user token">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Click the <strong>+ Create user token</strong> button in the top-right of the user-tokens section. A new row appears in the <strong>Active tokens</strong> table immediately. No prompt is shown — the token is created right away.</p>
      </div>
    </Step>

    <Step title="Reveal and copy the token">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>The new token is hidden by default. On the new row:</p>

        <ul>
          <li>Click <strong>Reveal token</strong> (or <strong>Hide token</strong> to toggle back) — the token value appears as `user:<hex>` (e.g. `user:0afb128e57084fce8fd15c62d75e4bd6`).</li>
          <li>Click the token value itself to copy it (a "Click to copy" tooltip will appear). You can re-reveal and copy it any time later.</li>
          <li>Paste the full value (including the `user:` prefix) into the <strong>User Token</strong> field in the StackOne Hub linking form.</li>
        </ul>
      </div>
    </Step>

    <Step title="(Optional) Name the token">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>To make the token easier to identify later, click the <strong>pencil/edit icon</strong> in the <strong>Description</strong> column on the row, type a name (e.g. `StackOne integration`), and confirm. The description is purely for your reference and can be edited at any time.</p>
      </div>
    </Step>
  </Steps>
</section>

<section data-guide-section data-guide-scopes="">
  <h2>Find your organization and deployment</h2>

  <p>The connector URL is built from `https://{organization}.dagster.cloud/{deployment}`. You can read both values straight from the Dagster+ UI.</p>

  <Steps>
    <Step title="Identify the organization slug">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Look at the browser URL bar while signed in to Dagster+ — it looks like `https://acme.dagster.cloud/prod/...`. The subdomain before `.dagster.cloud` (here `acme`) is your <strong>organization slug</strong>. You can also find it in the avatar menu (bottom-left) — the organization name shown above your email matches the slug (lowercased, no spaces).</p>
      </div>
    </Step>

    <Step title="Identify the deployment">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>The path segment after the organization (e.g. `prod`, `staging`, or a branch deployment name) is your <strong>deployment</strong>. You can also see it in the <strong>deployment dropdown at the top-left of the sidebar</strong> (next to the Dagster+ logo) — switching deployments updates the URL.</p>
      </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>User Token</strong></li>
        <li><strong>Organization slug</strong></li>
        <li><strong>Deployment</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>
