# Organizations, Workspaces and Environments

URL: https://docs.clinia.com/docs/platform/organizations-and-workspaces

> Organizations, workspaces and their sandbox and production environments in the Clinia Console.

An organization holds workspaces, team members and a plan. A workspace holds its own patient data, credentials and API endpoints. Nothing crosses between workspaces, so a credential created for one workspace cannot be used to reach the data of another.

The Clinia Console at [console.clinia.cloud](https://console.clinia.cloud) is where you manage your organizations, workspaces and credentials.

## Sandbox and production [#sandbox-and-production]

Workspaces can be provisioned in two different environments. Environment is determined at creation and cannot be changed later.

- **Sandbox** is for building and testing your integration.
- **Production** is for live patient data.

The Free plan allows one sandbox workspace. Production workspaces require the Flex plan, as described in [Manage Plan and Billing](https://docs.clinia.com/docs/platform/manage-plan-and-billing). Canceling Flex will disable your organization's production workspaces.

## Manage organizations [#manage-organizations]

You create your first organization the first time you sign in to the Console.

### Create another organization [#create-another-organization]

<Steps>
  <Step>
    Open the organization switcher at the top of the sidebar and select **Create organization**.
  </Step>
  <Step>
    Enter an **Organization name**. The Console fills in the **URL slug** from the name, which you
    can edit before you submit.
  </Step>
  <Step>Select **Create organization**.</Step>
</Steps>

### Switch between organizations [#switch-between-organizations]

Open the organization switcher at the top of the sidebar and select the organization you want to work in.

### Change the name or URL slug [#change-the-name-or-url-slug]

Owners and admins can change an organization's name and URL slug.

<Steps>
  <Step>Under **Organization** in the sidebar, select **Settings**.</Step>
  <Step>Edit **Organization name** or **URL slug**, then select **Save changes**.</Step>
</Steps>

The slug can hold lowercase letters, numbers and hyphens, up to 64 characters, and cannot start or end with a hyphen. It is part of every Console URL for your organization, so changing it breaks existing bookmarks and shared links.

### Delete an organization [#delete-an-organization]

You cannot delete an Organization from the Console. Contact Clinia support to delete your organization.

## Manage workspaces [#manage-workspaces]

Owners and admins can create and delete workspaces. Every member can view them. See [Team and roles](https://docs.clinia.com/docs/platform/team-and-roles) to understand what each role can do.

### Create a workspace [#create-a-workspace]

<Steps>
  <Step>Select **Workspaces** in the sidebar, then select **New workspace**.</Step>
  <Step>Enter a **Name** and pick a **Type**, either **Sandbox** or **Production**.</Step>
  <Step>Select **Create workspace**.</Step>
</Steps>

A type shows as locked when your plan does not cover it or when your organization has reached its limit for that type.

### Find the Workspace ID and URL [#find-the-workspace-id-and-url]

Open your workspace from the **Workspaces** list. Its page shows the **Workspace ID** and the **Workspace URL**. The Workspace URL is the base URL your application sends API requests to.

### Delete a workspace [#delete-a-workspace]

<Callout type="warn">
  Deleting a workspace permanently removes its data and every credential created for it. It cannot
  be undone.
</Callout>

<Steps>
  <Step>Select **Workspaces** in the sidebar.</Step>
  <Step>
    On your workspace's row, select the delete icon, then select **Delete workspace** to confirm.
  </Step>
</Steps>
