> For AI agents: the complete documentation index is at [llms.txt](https://reflex.dev/docs/llms.txt). For a Markdown version, remove the trailing slash from the page URL and append `.md`. The docs home is available at [index.md](http://localhost:3000/docs/index.md).

---
tags: Organization
description: How organizations work in Reflex, and the projects, apps, members, roles, billing, and credits they contain.
---

# Organizations

```python exec
import reflex as rx
```

An **organization** is a shared workspace in Reflex. It contains your projects and their apps, the people who work on them, the roles that control what each person can do, and your billing and credits.

Every project and app belongs to an organization, in both [Reflex Build](/docs/ai/overview/what-is-reflex-build/) and [Reflex Cloud](/docs/hosting/deploy-quick-start/). Your account starts with one, created the first time you sign in.

## Organizations, projects, and apps

Reflex has three levels.

```python eval
rx.image(
    src="https://web.reflex-assets.dev/docs-preview/organization/overview/organization_hierarchy.webp",
    alt="Diagram showing an organization containing projects, and each project containing apps",
    class_name="rounded-md h-auto mb-4",
    border=f"0.81px solid {rx.color('slate', 5)}",
)
```

- **Organization**: the top level, usually one per company. Members, teams, organization roles, machine identities, tokens, usage, billing, verified domains, and single sign-on are set here.
- **Project**: a group of related apps within an organization, with its own members, roles, and settings. Teams commonly use one project per product or client.
- **App**: an application you build and deploy. Each app belongs to a project.

People join the organization first, then get access to individual projects. This keeps one workspace usable for a large team without giving everyone access to everything in it.

## Where settings live

Settings live at either the organization or the project level.

| Organization level | Project level |
| --- | --- |
| Members, teams, seats, and provisioning | Which members and teams can open the project |
| Built-in and custom organization roles | Built-in and custom project roles |
| Service accounts | Project name and deletion |
| AI and Cloud usage, billing, and credits | Project overview and usage summary |
| Verified domains and auto-join | Deployment and project-access approvals |
| Single sign-on (SSO) | Secrets and integrations |
| Connected cloud providers | Project activity (audit log) |
| Organization-wide activity (audit log) | Apps and deployments |

## Creating an organization

Most teams need only one organization. Create a second when you want fully separate members, billing, and projects, for example to keep two companies or clients apart.

Open the **organization switcher** at the top of the page, choose **Create organization**, name it, and confirm.

```python eval
rx.image(
    src="https://web.reflex-assets.dev/docs-preview/organization/overview/create_organization.webp",
    alt="The organization switcher menu open, with the Create organization option highlighted",
    class_name="rounded-md h-auto mb-4",
)
```

```md alert info
# Creating organizations depends on your plan
If you don't see the option to create one, it isn't included in your current plan. [Contact sales](https://reflex.dev/pricing/) to learn more.
```

## Switching organizations

If you belong to more than one organization, use the **organization switcher** to move between them. The projects, members, billing, and settings you see always belong to the selected organization. If a project or teammate appears to be missing, check that the right organization is selected.

## Name and ID

The **General** tab of your organization's settings shows two fields:

- **Organization name**: the display name used throughout Reflex. Admins can change it at any time.
- **Organization ID**: a fixed identifier used by the CLI and API. You can copy it, but not change it.

## Leaving an organization

Use **Leave organization** in **General** when you no longer need access. You immediately lose access to its projects and apps.

An organization must always have at least one admin. If you are the only admin, use **Hand off admin access** to promote another member before leaving. Review the new admin's identity and responsibilities before transferring control.

## Deleting an organization

Deleting an organization is permanent and removes every project inside it.

Open **General** in the organization sidebar and use **Delete organization**. You'll be asked to type the organization's name to confirm.

```md alert warning
# You can't delete your only organization
Reflex won't delete an organization if it's the only one you belong to. Create or join another first.
```

## Plans

Verified domains, single sign-on, bring-your-own-cloud, and inviting teammates are Enterprise features, and your seat count depends on your plan. When a feature isn't part of your plan, Reflex shows a note with a link to [contact sales](https://reflex.dev/pricing/).

## In this section

Getting your team in:

- [Members & seats](/docs/ai/organization/members/) — add people and manage seats.
- [Teams](/docs/ai/organization/teams/) — group members and grant project access once.
- [Provisioning](/docs/ai/organization/provisioning/) — synchronize membership through SCIM.
- [Service accounts](/docs/ai/organization/service-accounts/) — give CI, scripts, and integrations an organization-owned identity.
- [Tokens](/docs/hosting/tokens/) — create organization-scoped credentials with limited project and resource access.
- [Verified domains & auto-join](/docs/ai/organization/domains/) — let teammates join by email domain.
- [Single sign-on (SSO)](/docs/ai/organization/sso/) — sign in through your identity provider.

Controlling access:

- [Roles & permissions](/docs/ai/organization/roles-and-permissions/) — what each organization and project role can do.
- [Managing project access](/docs/ai/organization/project-access/) — add members to specific projects.
- [Custom project roles](/docs/ai/organization/custom-roles/) — define project access with the exact permissions you need.

Governing and organizing:

- [Usage](/docs/ai/organization/usage/) — review AI credits and Cloud resources.
- [Project approvals](/docs/ai/organization/deployment-approvals/) — require sign-off before deployments or project membership changes.
- [Audit logs](/docs/ai/organization/audit-logs/) — review who did what.
- [Moving projects & apps](/docs/ai/organization/moving-projects-and-apps/) — move work between projects and organizations.
- [Bring your own cloud](/docs/ai/organization/cloud-providers/) — run apps on your own infrastructure.
