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

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

<Warning>Only a Customer Area user with the Manage API credentials role can create API keys and assign roles. Reading users needs the Management API Users read and write role, which is not assigned by default.</Warning>

<section data-guide-section data-guide-scopes="">
  <h2>Generate an API key</h2>

  <p>Create or reuse a company-level API credential in the Adyen Customer Area and generate an API key for it.</p>

  <Steps>
    <Step title="Open API credentials">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Sign in to the Adyen Customer Area and go to Developers > API credentials.</p>

        <ul>
          <li>Use the test Customer Area (ca-test.adyen.com) for a Test connection and the live Customer Area for Production.</li>
          <li>Pick a company-level credential (username starting with ws\@Company.) so company users and accounts are visible.</li>
        </ul>
      </div>
    </Step>

    <Step title="Assign roles">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Under Permissions > Roles, assign the Management API roles this connection needs, then save.</p>

        <ul>
          <li>Management API - Account read, for companies and merchant accounts.</li>
          <li>Management API - Users read and write, for company and merchant users.</li>
          <li>Management API - API credentials read and write, for listing API credentials.</li>
        </ul>
      </div>
    </Step>

    <Step title="Generate and copy the key">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Under Server settings > Authentication, select API key and click Generate API key. Copy the key and paste it below.</p>

        <ul>
          <li>The key is shown only once. Store it securely.</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>
