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

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

<section data-guide-section data-guide-scopes="">
  <h2>Generate your MailerLite API token</h2>

  <p>MailerLite authenticates with an API token that you generate from your account. Sign in to your <a href="https://dashboard.mailerlite.com/" target="_blank" rel="noopener noreferrer">MailerLite dashboard</a>, then follow the steps below to create a token and paste it into StackOne Hub.</p>

  <Steps>
    <Step title="Open the MailerLite API integration">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>In the left sidebar, click <strong>Integrations</strong>. On the <strong>Integrations</strong> page, find the <strong>MailerLite API</strong> section and click <strong>Use</strong> next to <strong>API</strong>.</p>

        <img src="https://mintcdn.com/stackone-60/ezSw3L6wI44x0jfo/connectors/mailerlite/images/custom-config-open-api-integration.png?fit=max&auto=format&n=ezSw3L6wI44x0jfo&q=85&s=c1c1e87f932ff7c1c6926cf506b94a2e" alt="The MailerLite Integrations page with the Use button next to the API card highlighted." width="1280" height="800" data-path="connectors/mailerlite/images/custom-config-open-api-integration.png" />
      </div>
    </Step>

    <Step title="Generate a new API token">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>On the <strong>Developer API</strong> page, in the <strong>API tokens</strong> section, click <strong>Generate new token</strong>.</p>

        <img src="https://mintcdn.com/stackone-60/ezSw3L6wI44x0jfo/connectors/mailerlite/images/custom-config-generate-token.png?fit=max&auto=format&n=ezSw3L6wI44x0jfo&q=85&s=6546f355ecee2e15c6a44d4174c99f5a" alt="The Developer API page with the Generate new token button highlighted." width="1280" height="800" data-path="connectors/mailerlite/images/custom-config-generate-token.png" />
      </div>
    </Step>

    <Step title="Enter a name and create the token">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>In the <strong>Create new API token</strong> dialog, type a name in <strong>Enter token name</strong> (for example, `StackOne`). Under <strong>Choose IP restrictions</strong>, leave <strong>All IPs allowed</strong> selected unless you want to restrict access to specific IPs via <strong>Enable IP allowlist</strong>. Tick the box to confirm you have read the <strong>Terms of Use</strong>, then click <strong>Create token</strong>.</p>

        <img src="https://mintcdn.com/stackone-60/ezSw3L6wI44x0jfo/connectors/mailerlite/images/custom-config-create-token.png?fit=max&auto=format&n=ezSw3L6wI44x0jfo&q=85&s=77b11f90a74cc3bd8224cade3428a52e" alt="The Create new API token dialog with the token name field, IP restrictions, and Create token button highlighted." width="1280" height="800" data-path="connectors/mailerlite/images/custom-config-create-token.png" />
      </div>
    </Step>

    <Step title="Copy the API token">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>The <strong>API token</strong> is displayed. Click <strong>Copy</strong> to copy the value, then paste it into the <strong>API Token</strong> field in StackOne Hub.</p>

        <ul>
          <li>The token is only shown once — MailerLite states: <strong>Please copy or download this key, and save it somewhere safe. For security reasons, we cannot show it to you again.</strong> If you lose it, generate a new one.</li>
          <li>The token inherits the permissions of the MailerLite user who created it and stops working if that user is removed from the account.</li>
        </ul>

        <img src="https://mintcdn.com/stackone-60/ezSw3L6wI44x0jfo/connectors/mailerlite/images/custom-config-copy-token.png?fit=max&auto=format&n=ezSw3L6wI44x0jfo&q=85&s=af458b84beb8fc26cc7268929918acdf" alt="The generated API token screen with the token value hidden and the Copy button highlighted." width="1280" height="800" data-path="connectors/mailerlite/images/custom-config-copy-token.png" />
      </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 Token</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>

## Next Steps

<Columns cols={2}>
  <Card title="Webhooks setup" href="/connectors/mailerlite/guides/webhook-setup">
    <p className="connector-page-auth-description connector-page-card-text">
      Configure receiving Events for MailerLite into StackOne.
    </p>
  </Card>
</Columns>
