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

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

<Warning>You need admin access to your Nutshell account to generate an API key.</Warning>

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

  <p>To connect Nutshell with StackOne, you'll need your Nutshell login email and an API key.</p>

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

    <Step title="Open API Keys settings">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Navigate to the API Keys page in your Nutshell settings.</p>

        <ul>
          <li>Click <strong>Settings</strong> in the bottom-left corner of the sidebar.</li>
          <li>Click <strong>Connections</strong> in the sidebar, which will take you directly to the API keys page.</li>
        </ul>
      </div>
    </Step>

    <Step title="Create a new API key">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Create a new API key with the correct permissions.</p>

        <ul>
          <li>Click <strong>Add API key...</strong> at the top of the API keys table.</li>
          <li>Enter a <strong>Name</strong> for the key (e.g., "StackOne Integration").</li>
          <li>Select <strong>API access</strong> as the permission.</li>
          <li>Click <strong>New API key</strong>.</li>
        </ul>
      </div>
    </Step>

    <Step title="Copy the API key">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>The new key will appear in the API keys table.</p>

        <ul>
          <li>Click on the newly created API key row in the table.</li>
          <li>The <strong>Edit API key</strong> dialog will open with the full API key displayed in the <strong>API Key</strong> field.</li>
          <li>Copy the API key and store it securely.</li>
        </ul>
      </div>
    </Step>

    <Step title="About your username">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>The <strong>Username</strong> is the email address you use to sign in to Nutshell.</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>Username (Email)</strong></li>
        <li><strong>API Key</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>
