# Organization and Tenants

Source: https://docs.autessa.com/docs/guide/platform/companies

> Pay for several companies in one place, switch between them, share apps with every tenant, and remove or restore a company.

# Organization and Tenants

Every resource in Autessa belongs to a company. An organization is a company that pays for other companies, plus the companies it pays for, which are its tenants. The Organization page shows your tenants, the one invoice that covers them, the apps you share with them, and every other organization you belong to.

## What it's for

Separate companies keep work apart: a staging copy and a production copy, several locations, or several teams. Each tenant has its own members, resources, and data. Billing doesn't have to be split the same way. The organization pays one invoice for all of its tenants, and usage is counted for each tenant and added up on that invoice.

A company that nobody else pays for is an organization of one. Your personal workspace isn't part of an organization.

You can belong to many organizations. Each one is billed on its own, and the company switcher groups your companies by organization.

## Navigating here

Open the **Company** space on the rail and click **Organization**. The **Manage organization** link at the bottom of the company switcher opens the same page.

[Open Organization →](https://builder.autessa.com/companies)

## Key concepts

- **Scope.** You work in one company at a time. Switching re-scopes the whole builder: every list, permission, and setting shows that company.
- **Tenants.** A tree with the paying company at the top (badged **Pays for the organization**) and the companies it bills under it. Each row shows your role, the member count, and when it was created. **You're here** marks the company you're in.
- **Billing.** One invoice for the whole organization. People who manage billing (the owner, an Admin, or an Accountant) see the invoice and can add tenants or stop billing one. See [Billing Accounts](/docs/guide/company/billing-accounts.md).
- **Your Marketplace.** Apps shared with every tenant of your organization. Each tenant installs them from its own Marketplace.
- **Linked accounts.** Partners that serve this company, and clients it serves. They aren't billed with you. See [Partners](/docs/guide/company/partners.md).
- **Your other organizations.** Every other organization you belong to, with a **Switch** button for each of your companies in it.
- **Recently removed.** Companies removed in the last 30 days, with a **Restore** button.

## How to switch companies

1. Click the company name at the top of the menu to open the company switcher. Companies are grouped under their organization's name, then **Other companies** and **Personal workspace**.
2. Type to filter, or pick a company from the list. Searching for an organization's name shows all of its tenants.
3. The builder opens that company's home page.

You can also switch from the Organization page: open a tenant's **More** menu and choose **Switch to it**, or click **Switch** under **Your other organizations**.

## How to create a tenant billed to your organization

1. Switch into the company that pays (not your personal workspace).
2. On the Organization page, click **New tenant**.
3. Enter the **Company name**.
4. Under **Who pays for this company?**, keep **Bill it to <your organization>**. Its usage appears as its own line on that invoice. Choose **It pays for itself** if the new company should have its own plan and payment method.
5. Click **Create company**. You're switched into the new company. Invite teammates from **Company → Users & Teams**.

Only people who manage billing see the **Who pays for this company?** choice. Anyone else can still create a company with **Create company**, and it pays for itself.

## How to stop billing a tenant centrally

1. On the Organization page, open the tenant's **More** menu and choose **Stop billing centrally**.
2. Confirm with **Stop billing**.

The company then pays its own bill, so it needs its own plan and payment method. Usage so far stays on the organization's invoice. Apps shared with the organization stop showing in its Marketplace. Nothing else in the company changes.

## How to share an app with every tenant

Publish the app to the **My organization** audience. It's shared right away, with no Autessa review, and it's always free, because your tenants are already billed together.

1. On the Organization page, click **Share an app with your tenants** in the **Your Marketplace** section (or choose it from the **More** menu).
2. Pick the app and anything else it needs, then continue to publish.
3. Under **Who can install this app?**, choose **My organization (all your tenants)**. Tenants you add later can install it too.
4. Click **Share with my organization**.

Every tenant now finds the app in its Marketplace, badged **Shared with your organization**. The **Your Marketplace** table shows who shared each app and how many tenants have installed it. See [Publishing](/docs/guide/marketplace/publishing.md).

## How to copy resources to another tenant

Each tenant is a separate company, so moving work from one tenant to another, such as from staging to production, means copying its resources.

**With a bundle:**

1. On the Organization page, open a tenant's **More** menu and choose **Copy resources to another tenant**.
2. Pick the agents, tools, tables, apps, and other resources to copy. Their dependencies come along automatically. Download the bundle.
3. Switch to the other tenant, open **Marketplace → Import bundle**, and upload the file.

See [Bundles](/docs/guide/marketplace/bundles.md) for each step.

**With the Autessa CLI:** keep one [CLI profile](/docs/cli/install.md#profiles) per tenant. Read a resource's settings with one profile, then create it with the other using `--profile`.

## How to remove a company

Only the company owner or an Admin can remove a company.

1. On the Organization page, open the company's **More** menu and choose **Remove company**.
2. Type the company's name exactly as shown to confirm.
3. Click **Remove company**.

The company disappears for everyone right away and its billing stops. Usage up to now is still invoiced. Members who were working in it move to their personal workspace. You can restore it from the Organization page for 30 days.

Autessa won't remove a company in these cases, and tells you why:

| Message | What to do |
| --- | --- |
| Your personal workspace can't be removed. | Personal workspaces stay with your account. |
| This company pays for other companies. Move their billing or stop billing them first. | The message lists the companies it pays for. Stop billing each one centrally, or move it to another payer, then try again. |
| The name you typed doesn't match the company's name. | Type the name exactly, including capital letters. |
| Only the company owner or an Admin can remove this company. | Ask the owner or an Admin. |

## How to restore a removed company

1. On the Organization page, find the company under **Recently removed**. It shows the date it was removed and the date you can restore it until.
2. Click **Restore**, then confirm.

The company comes back for everyone who was a member, with everything in it, and billing picks up again.

If you own the most companies your account allows, the restore is refused: remove another company first, or contact support@autessa.com to raise the limit. After 30 days a company can't be restored from the page; contact support@autessa.com for help.

## Related

- [Billing Accounts](/docs/guide/company/billing-accounts.md)
- [Partners](/docs/guide/company/partners.md)
- [Team](/docs/guide/company/team.md)
- [Bundles](/docs/guide/marketplace/bundles.md)
- [Publishing](/docs/guide/marketplace/publishing.md)
- [Navigating Autessa](/docs/guide/platform/navigating.md)

