> ## 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 Basic Auth – StackOne Hub

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

> [!WARNING]
>
> Only a Mambu user with **API** access rights can connect. Once Mambu enables API consumers for your tenant, **API** can no longer be added when creating a new user, but it can still be added to an existing user.

## 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>

## API user

The connection acts as this user, with the user's role and permissions.

**1. Set up the API user**

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** > **Users**.

<ul>
  <li>**Tenant without API consumers (new user):** Select **Create New User**. In the **Create A New User** dialog, under **General**, enter a **First Name**, then either assign a **Role** that includes **API** access rights and can view and manage the records you want to sync, including viewing branches and centers, or leave **Role** empty. Under **User Access**, enter a **Username** and a **Password**. If you left **Role** empty, under **User Rights** select **API** in **Access Rights** and set **Permissions** that can view and manage those same records. Then select **Save User**.</li>
  <li>**Tenant with API consumers enabled (existing user):** Mambu no longer allows **API** on a new user, so in the **Users** list, select to edit the user, which opens the **Edit User** dialog. If the user has a **Role**, that role must include **API** access rights and be able to view and manage the records you want to sync, including viewing branches and centers. If the user has no **Role**, under **User Rights** select **API** in **Access Rights** and check that its **Permissions** cover those same records. Then select **Save User**.</li>
  <li>Copy the user's **Username** across. Mambu never shows a password, so copy the **Password** you set in **User Access**, or the existing user's current password, across.</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.