# Creating a Tenant In the Integration Hub

A tenant can be created from the main Tenants resource on the sidebar, or directly from an integration detail page by clicking 'Create Tenant' in the top right of that page.

Either way, you'll then be directed into the tenant creation flow:

<figure><img src="/files/WsqG0XTz0E8T8pqBpBek" alt=""><figcaption><p>Tenant Creation Flow</p></figcaption></figure>

Select the release that should be applied to the tenant. The 'Specific Release' option shows a dropdown where all releases that have been built for an integration show and be selected from. Learn more about building releases [here](https://docs.pandium.com/integration-hub/updating-an-integrations-release#building-releases-from-the-integration-page).

* The 'Channel' option, you can opt for either the 'Default' or 'Latest' channels.
* The 'Default' option will set the tenant so that the release version will always match the set Default release of the integration.
* The 'Latest' option guarantees that the tenant utilizes the most recently built release version for your integration, regardless of the default integration release set at the integration level.

Then, add a name for identifying the the tenant and then click 'Create' to move to the screen.

{% hint style="danger" %}
Please Note: There is a 63 character limit for tenant names.
{% endhint %}

Here, depending on the connector type that has been set up for the integration, credential fields will show for the tenant to be authenticated.

* For OAuth2.0 connectors, once the authentication flow is completed, Pandium will generate a link that you can send to your customers so that they can authenticate, and give consent to use their app. This is known as the Magic Link. Learn more [here](https://docs.pandium.com/integration-hub/managing-and-updating-tenants-in-the-admin-portal#magic-link).

Clicking 'Next' will show the configuration settings that have been defined for the integration. Learn more about how to configure customizable configurations [here.](https://github.com/pandium/external-docs/blob/master/build/anatomy-of-an-integration/pandium.yaml-spec)

* Please note, that your integration may include dynamic configurations. If this is the case, you will not be able to select these options until you finish creating the tenant and run an init sync.

On the next page, the Sync Schedule can be configured. Select a schedule type: simple or advanced.

<figure><img src="/files/emXwYHC5vghSxEDJLHKn" alt=""><figcaption><p>Sync Schedules</p></figcaption></figure>

To configure a simple schedule, simply select a sync timeframe from the options listed.

To configure an advanced schedule, you'll have to write a cron schedule expression. For assistance with this, you can use [Crontab Guru](https://crontab.guru/). Please note that the advanced scheduling capabilities are only accessible via the Integration Hub.

Lastly, decide whether the tenant should be paused by default, or immediately begin syncing according to the sync schedule.

Then, click Save Changes.

*Note: There is no limit to how many tenants you can have on a single integration.*


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pandium.com/integration-hub/creating-a-tenant.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
