> ## Documentation Index
> Fetch the complete documentation index at: https://nango-wari-integration-config-credentials-api.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ImmyBot - How do I link my account?

## Overview

To authenticate with ImmyBot, you need:

1. **Microsoft Entra Tenant ID** - The Azure tenant ID that owns your ImmyBot app registration
2. **ImmyBot Instance Subdomain** - The first segment of your ImmyBot instance URL
3. **Client ID** - The Application client ID from your Microsoft Entra app registration
4. **Client Secret** - A client secret value from your Microsoft Entra app registration

### Prerequisites:

* Access to your ImmyBot tenant as an administrator.
* Permission to create or manage Microsoft Entra app registrations.
* Permission to add a Person and User in ImmyBot.

### Instructions:

#### Step 1: Create or find your Microsoft Entra app registration

1. In Microsoft Entra, go to **App registrations**.
2. Click **New registration**, or open an existing app registration for ImmyBot API access.

<img src="https://mintcdn.com/nango-wari-integration-config-credentials-api/5Bzz8u-Zenu6owO9/api-integrations/immybot/01-azure-app-registrations-new-registration.png?fit=max&auto=format&n=5Bzz8u-Zenu6owO9&q=85&s=ec13763ad9e3c8c66a2426056ea30933" width="1354" height="366" data-path="api-integrations/immybot/01-azure-app-registrations-new-registration.png" />

3. From the app registration overview, copy the **Directory (tenant) ID** and **Application (client) ID**.

<img src="https://mintcdn.com/nango-wari-integration-config-credentials-api/5Bzz8u-Zenu6owO9/api-integrations/immybot/02-azure-app-registration-overview.png?fit=max&auto=format&n=5Bzz8u-Zenu6owO9&q=85&s=45cbb4b17a6453b282d8fa427647ba4c" width="2514" height="696" data-path="api-integrations/immybot/02-azure-app-registration-overview.png" />

#### Step 2: Create a client secret

1. In the app registration, open **Certificates & secrets**.
2. Create a new client secret.
3. Copy the secret **Value**.

<img src="https://mintcdn.com/nango-wari-integration-config-credentials-api/5Bzz8u-Zenu6owO9/api-integrations/immybot/03-azure-client-secret.png?fit=max&auto=format&n=5Bzz8u-Zenu6owO9&q=85&s=be680bc16385cb1f2675d3c754fa636e" width="1720" height="360" data-path="api-integrations/immybot/03-azure-client-secret.png" />

<Note>
  Store the Client Secret securely. Azure only shows the client secret value once.
</Note>

#### Step 3: Copy the Enterprise Application Object ID

1. From the app registration overview, click the **Managed application in local directory** link.

<img src="https://mintcdn.com/nango-wari-integration-config-credentials-api/5Bzz8u-Zenu6owO9/api-integrations/immybot/04-azure-managed-application-link.png?fit=max&auto=format&n=5Bzz8u-Zenu6owO9&q=85&s=1838b40d1ad87ee45f2ec5ac0b353b2c" width="596" height="248" data-path="api-integrations/immybot/04-azure-managed-application-link.png" />

2. On the Enterprise Application properties page, copy the **Object ID**.

<img src="https://mintcdn.com/nango-wari-integration-config-credentials-api/5Bzz8u-Zenu6owO9/api-integrations/immybot/05-azure-enterprise-application-object-id.png?fit=max&auto=format&n=5Bzz8u-Zenu6owO9&q=85&s=4a594f7073bdd96d4e26efb3da21c26c" width="752" height="352" data-path="api-integrations/immybot/05-azure-enterprise-application-object-id.png" />

<Warning>
  Use the Enterprise Application Object ID for the ImmyBot Azure Object ID field, not the App Registration Object ID.
</Warning>

#### Step 4: Add the Azure service principal as a Person in ImmyBot

1. In ImmyBot, expand **Show more** in the sidebar and open **People**.

<img src="https://mintcdn.com/nango-wari-integration-config-credentials-api/5Bzz8u-Zenu6owO9/api-integrations/immybot/06-immybot-show-more-people.png?fit=max&auto=format&n=5Bzz8u-Zenu6owO9&q=85&s=724808a15c1a4cb016e7e2b7a48b7ac7" width="444" height="1736" data-path="api-integrations/immybot/06-immybot-show-more-people.png" />

2. Click **New**.

<img src="https://mintcdn.com/nango-wari-integration-config-credentials-api/5Bzz8u-Zenu6owO9/api-integrations/immybot/07-immybot-people-new.png?fit=max&auto=format&n=5Bzz8u-Zenu6owO9&q=85&s=e1caaa649406c08b0602cb6306ea5533" width="1198" height="612" data-path="api-integrations/immybot/07-immybot-people-new.png" />

3. Create a Person for the integration. Select the owner tenant, enter a recognizable name and email, and paste the Enterprise Application Object ID into **Azure Object ID**.

<img src="https://mintcdn.com/nango-wari-integration-config-credentials-api/5Bzz8u-Zenu6owO9/api-integrations/immybot/08-immybot-new-person-form.png?fit=max&auto=format&n=5Bzz8u-Zenu6owO9&q=85&s=a88c7ba79799e0b7556fb990d6d22099" width="1408" height="716" data-path="api-integrations/immybot/08-immybot-new-person-form.png" />

#### Step 5: Create a User and assign an API access role in ImmyBot

1. In ImmyBot, expand **Show more** and open **Users & Roles**.

<img src="https://mintcdn.com/nango-wari-integration-config-credentials-api/5Bzz8u-Zenu6owO9/api-integrations/immybot/09-immybot-show-more-users-roles.png?fit=max&auto=format&n=5Bzz8u-Zenu6owO9&q=85&s=15ac7ee906bbb76512f675dce12e444d" width="438" height="1738" data-path="api-integrations/immybot/09-immybot-show-more-users-roles.png" />

2. Click **Add New User**.

<img src="https://mintcdn.com/nango-wari-integration-config-credentials-api/5Bzz8u-Zenu6owO9/api-integrations/immybot/10-immybot-users-roles-add-new-user.png?fit=max&auto=format&n=5Bzz8u-Zenu6owO9&q=85&s=495db5d5a4bfde9f74cc660415cfe5ad" width="1398" height="448" data-path="api-integrations/immybot/10-immybot-users-roles-add-new-user.png" />

3. Select the Person you created, then click **Create Users**.

<img src="https://mintcdn.com/nango-wari-integration-config-credentials-api/5Bzz8u-Zenu6owO9/api-integrations/immybot/11-immybot-create-users-from-existing-people.png?fit=max&auto=format&n=5Bzz8u-Zenu6owO9&q=85&s=c243be12c98380f63cd269d4f282ec23" width="422" height="1726" data-path="api-integrations/immybot/11-immybot-create-users-from-existing-people.png" />

4. Assign an administrator role that can access the ImmyBot API, such as **System Administrator (Legacy)** or the applicable administrator role for your tenant.
5. Set the assignment to **Allow**, then click **Assign**.

<img src="https://mintcdn.com/nango-wari-integration-config-credentials-api/5Bzz8u-Zenu6owO9/api-integrations/immybot/12-immybot-direct-role-assignment.png?fit=max&auto=format&n=5Bzz8u-Zenu6owO9&q=85&s=b9a9c4b57b7047f20cf4377a6040a07f" width="1400" height="1236" data-path="api-integrations/immybot/12-immybot-direct-role-assignment.png" />

#### Step 6: Find your ImmyBot instance subdomain

1. Open your ImmyBot instance URL.
2. Copy the first segment before `.immy.bot`.

For example, if your ImmyBot URL is `https://acme.immy.bot`, enter `acme`.

#### Step 7: Enter credentials in the Connect UI

Once you have your ImmyBot credentials:

1. Open the form where you need to authenticate with ImmyBot.
2. Enter your **Microsoft Entra Tenant ID**, **ImmyBot Instance Subdomain**, **Client ID**, and **Client Secret** in their respective fields.
3. Submit the form, and you should be successfully authenticated.

<img src="https://mintcdn.com/nango-wari-integration-config-credentials-api/5Bzz8u-Zenu6owO9/api-integrations/immybot/13-nango-immybot-connection-form.png?fit=max&auto=format&n=5Bzz8u-Zenu6owO9&q=85&s=55f12a46ed68fc177ee05321fd98553f" style={{maxWidth: "450px" }} width="498" height="699" data-path="api-integrations/immybot/13-nango-immybot-connection-form.png" />

You are now connected to ImmyBot.
