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

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

<Warning>Only Metabase admins can create API keys, and the key must be assigned to the Administrators group to read people, groups and memberships.</Warning>

<section data-guide-section data-guide-scopes="">
  <h2>Find your Metabase URL</h2>

  <p>Use the address you open Metabase at, for example `https://metabase.example.com` or `https://yourcompany.metabaseapp.com` on Metabase Cloud. Leave off any trailing slash and the `/api` path.</p>
</section>

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

  <p>Create a key that belongs to the Administrators group.</p>

  <Steps>
    <Step title="Open API keys">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>In Metabase, click the grid icon in the upper right, select <strong>Admin</strong>, open the <strong>Settings</strong> tab, click <strong>Authentication</strong>, then scroll to <strong>API Keys</strong> and click <strong>Manage</strong>.</p>
      </div>
    </Step>

    <Step title="Create the key">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Click <strong>Create API Key</strong>, enter a key name such as `StackOne`, select the <strong>Administrators</strong> group, and click <strong>Create</strong>.</p>
      </div>
    </Step>

    <Step title="Copy the key">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Copy the key now. Metabase shows it only once.</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="/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>Metabase URL</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="/gateway/concepts/linked-accounts">Accounts</a> page.</p>
</div>
