# Sites, floors and rooms

> Create the structure of a tenant: sites, floors, rooms and racks, and what their pages show.

URL: https://docs.racktrace.io/features/locations

Build the structure first: a site, its floors, the rooms on each floor and the racks in each room. Devices and cables come after that.

## Creating sites, floors, rooms and racks

1. **Site**: click **New site** on the dashboard, or the **+** next to **Locations** in the side menu. Fill in **ID** (e.g. HQ), **Name**, **Address** and **Notes**, then click **Create site**.
2. **Floor**: on the site page, click **New floor**. Give an **ID** (e.g. 00 for the ground floor) and/or a **Name**. **Sort order** decides the order in lists: lower numbers come first.
3. **Room**: on the site page, click **Room** in the block of a floor, or **New room** on the floor page. Fill in **ID** (e.g. SL), **Name** and optionally **Building / wing**.
4. **Rack**: on the room page, click **New rack**. Fill in **ID** (e.g. RK001), **Name**, the **Cabinet model** (optional: the real cabinet, which also sets the height — see [Rack cabinets](https://docs.racktrace.io/features/rack-cabinets#cabinet-model)), **Height (U)** (42 by default), **Position in room** (the order from left to right in the [row view](https://docs.racktrace.io/features/row-view-and-trunks#row-view)) and **Asset tag**.

After each step the new page opens, so you can go straight on to the next level.

## Site, floor and room pages

- **Site page**: **Floors & rooms** with a block per floor, each with a **Floor plan** button and tiles for its rooms. At the top: **Report** (a [printable report](https://docs.racktrace.io/features/export#report) of this site), **Labels**, **Edit**, delete and **New floor**.
- **Floor page**: a small picture of the [floor plan](https://docs.racktrace.io/features/floor-plans) (click it to open the plan) and the **Rooms** of the floor. **Report** prints this floor; **Share** makes a [read-only link](https://docs.racktrace.io/features/share-links) to it for someone without an account.
- **Room page**:
  - **Racks**: a small drawing per rack. Click one to open it in the [rack editor](https://docs.racktrace.io/features/rack-editor). **Import from a drawing** brings in racks and cabling from draw.io, Visio or Lucidchart (see [Importing from a drawing](https://docs.racktrace.io/features/import-drawings)).
  - **Links between racks**: the cables and trunks between the racks of the room.
  - **Devices outside racks**: floor boxes, wall outlets, access points, desks and other endpoints in the room.
  - Buttons: **Row view** (when the room has more than one rack), **Floor plan**, **Labels**, **Report** (its racks side by side on one sheet, and if you like the cables between them on the floor plan — see [the printable report](https://docs.racktrace.io/features/export#report)), **Share** (a [read-only link](https://docs.racktrace.io/features/share-links) for someone without an account), **Add device** and **New rack**.

![A room page with its racks and the links between them](https://docs.racktrace.io/assets/screens/room.webp "A room page: its racks, the links between them and the devices outside racks.")

Every location page ends with a **History** card of the last changes there.

## Editing and deleting a location

Click **Edit** on the site, floor or room page to change its fields; rack settings are changed in the rack editor's inspector. If you clear the ID while editing, the current ID is kept.

> **Caution**
>
> **Deleting removes everything inside it.** Deleting a site also deletes all its floors, rooms, racks, devices and cables; a room deletes its racks, devices and cables. The deletion is recorded in the history but cannot be undone. Download a [full backup](https://docs.racktrace.io/features/export#export) first if you might need the data.
