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

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

> [!WARNING]
>
> API consumers are an Early Access feature that Mambu enables per tenant. If **API Consumers** is missing under **Administration** > **Access**, ask your Mambu Customer Success Manager to enable it. Creating a consumer and its keys needs the **View Api Consumers and Keys** and **Create Api Consumers and Keys** permissions. Without them, the **API Consumers** tab is not shown.

## Tenant name

Your tenant name identifies your Mambu instance. It is the first part of the address you use to open Mambu.

**1. Find your tenant name**

Copy the part of your Mambu address before `.mambu.com` across to **Tenant Name**. For a sandbox tenant, keep `.sandbox` on the end.

<ul>
  <li>Format: `https://{tenant}.mambu.com` or `https://{tenant}.sandbox.mambu.com`</li>
  <li>Example: if your address is `https://mybank.mambu.com`, your **Tenant Name** is `mybank`</li>
  <li>Example: if your address is `https://mybank.sandbox.mambu.com`, your **Tenant Name** is `mybank.sandbox`</li>
</ul>

## Generating an API key

An API key belongs to an API consumer and carries the consumer's access settings, so the consumer decides what the connection can read and change.

**1. Create the API consumer**

Sign in to your Mambu tenant ([find your tenant address](https://docs.mambu.com/api/pages/api-v2/base-urls/)), then on the main menu go to **Administration** > **Access** > **API Consumers**.

<ul>
  <li>Select **Add consumer**.</li>
  <li>In the **Create Api Consumer** dialog, enter a name for the consumer, such as `StackOne`.</li>
  <li>Assign the access settings by permissions, a role or a user type that can view and manage the records you want to sync, including viewing branches and centers.</li>
  <li>Select **Save Api Consumer**.</li>
</ul>

**2. Generate the API key**

Find the consumer in the list.

<ul>
  <li>Select **Actions**.</li>
  <li>Select **Manage keys**.</li>
  <li>In the **Manage Keys** dialog, select **Generate**.</li>
  <li>In the **Generate New API Key** dialog, leave the expiration time to live (TTL) empty so the key does not expire.</li>
  <li>Select **Generate**.</li>
  <li>Copy the **API Key** across. Mambu shows the key in clear text only once, and it cannot be retrieved later.</li>
</ul>

## Link the Account

**1. Connect**

<ul>
  <li>Click **Connect**.</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>

**2. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.