> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AddTenant

> AddTenant method in the ABBYY FlexiCapture tenant management API creates a tenant with name, description, and license settings, returning the tenant ID.

## What it does

Adds a new tenant.

## Definition

```
int AddTenant( string tenantName, string tenantDescription, string licenseNumber, bool canUseCommonLicense );
```

## Parameters

| **Name**            | **Type** | **Description**                     |
| ------------------- | -------- | ----------------------------------- |
| tenantName          | string   | Tenant name                         |
| tenantDescription   | string   | Tenant description                  |
| licenseNumber       | string   | Tenant license number (if required) |
| canUseCommonLicense | bool     | Permission to share main license    |

## Returned value

| **Type** | **Description**   |
| -------- | ----------------- |
| int      | Tenant identifier |

Only a tenant will be added. Users must be created separately. The first created user will automatically become the administrator of the tenant.
