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

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

<Warning>API keys are created in the Lucid Developer Portal, which requires the developer role on a Lucid team plan. A free personal account cannot create API keys — ask your Lucid admin to assign you the developer role first.</Warning>

<section data-guide-section data-guide-scopes="">
  <h2>Create a Lucid API key</h2>

  <p>Generate a long-lived API key in the Lucid Developer Portal. The key inherits the permissions (document grants) of the user who creates it.</p>

  <Steps>
    <Step title="Open the Developer Portal">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Sign in to the <a href="https://lucid.app/developer" target="_blank" rel="noopener noreferrer">Lucid Developer Portal</a> with a user that has the developer role, then open your application.</p>
      </div>
    </Step>

    <Step title="Create an API key">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>In your application, open the <strong>API Keys</strong> section and create a new API key. Choose the grant level the integration needs (read, edit, or admin).</p>

        <ul>
          <li>Give the key a descriptive name so you can identify it later.</li>
        </ul>
      </div>
    </Step>

    <Step title="Copy the API key">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Copy the generated key value and paste it into StackOne Hub.</p>

        <ul>
          <li>Copy the key into the <strong>API Key</strong> field in StackOne Hub.</li>
          <li>The key is shown only once — store it securely before leaving the page.</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="/connect/managing-connectors/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>
      </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="/gateway/concepts/linked-accounts">Accounts</a> page.</p>
</div>
