# How to manage companies and departments?

There can be an unlimited number of companies and departments. They should reflect the organizational structure of your company or group of companies. Each employee or workstation can belong to one of the departments, which in turn is part of one of the companies.&#x20;

Thanks to this, you can filter and group data in tables by departments and companies, as well as build reports by departments and companies (read more about these options in the [Audit section](/hideez-enterprise-server/audit.md)).

To manage companies, departments and positions go to the **Settings > Organization Structure**.

![](/files/3qBjYXr53zvgJKmDF6Jn)

## Adding a company <a href="#adding-a-company" id="adding-a-company"></a>

#### Step 1 <a href="#step-1" id="step-1"></a>

Click the **Create Company** button on the tab **Companies**.

![](/files/6X5Cm52iLB7Zza7hVjUa)

#### Step 2 <a href="#step-2" id="step-2"></a>

Enter the name of the company and click **Create**.

![](/files/3SflZAgz9OfoP5JosMe3)

The company will be added and displayed in the list in alphabetical order.

## Manage a company <a href="#manage-a-company" id="manage-a-company"></a>

You can **Edit Company** or **Delete Company** any company you have created. Click the corresponding buttons **Edit** and **Delete** near the name of the company.

![](/files/6T7pIhc40ObmnU6XFl6Q)

All departments will be deleted along with the deletion of the company.

## Adding a department <a href="#adding-a-department" id="adding-a-department"></a>

#### Step 1 <a href="#step-1-1" id="step-1-1"></a>

Click the **Create Department** button near the corresponding company.

![](/files/5NruUrAABADE6RTRcSck)

#### Step 2 <a href="#step-2-1" id="step-2-1"></a>

Enter the name of the department and click **Create**.

![](/files/yrOyIaWAJPESZX4dCRIO)

## Manage a department <a href="#manage-a-department" id="manage-a-department"></a>

You can edit and delete any department you have created in the company. Click corresponding buttons **Edit** and **Delete** near the name of the department.

![](/files/Iq4gqIIx2stWAvuMxLfU)

Departments are sorted alphabetically. You can change the sorting from A-Z to Z-A.


---

# 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://enterprise.hideez.com/hideez-enterprise-server/employees/how-to-add-a-company.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.
