> For the complete documentation index, see [llms.txt](https://docs.sprinthub.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sprinthub.com/en/topics/system-settings/departments.md).

# Departments

<figure><img src="/files/cd757a496c9f566e5ffef6146327da4bca565398" alt=""><figcaption></figcaption></figure>

**Assign the users, accounts, and permissions that the department can access.**

In the taskbar, click the settings icon and then System. Next, select Departments and click New Department.

<figure><img src="/files/606fd766cac5476fe5aae1140dbb5cbdc1d6b4d3" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/55a714d60b159459ba569f8af6d41ed2d632a10b" alt=""><figcaption></figcaption></figure>

By clicking a single arrow, you can select users or groups separately. By clicking the double-arrow icon, you can load all users or groups at once.

<figure><img src="https://lh3.googleusercontent.com/PZk9-3o-1aL81eImlDPZv0_v5zosS5TnkdrBTQ63_ENHPRlzTQpPAs7YeBSAfa9mas6H9LTqhasyigNlm9I2QJmO2MGj9ARWAtMjMgglIz_elI9Ar9X7bHQ0f6CIHJnz3FRQ16TM1Nivh9tfTq8mGLg" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/7c0dee10854640580cfa34fc551c53002cfcec38" alt=""><figcaption></figcaption></figure>

You will do the same with the **Accounts** and with the **Permissions**.

You will grant access to the accounts you have connected, for example, your WhatsApp, Facebook, and Instagram accounts. These accounts are the ones the departments will be able to use. For example, **the Customer Service Department will have access to the WhatsApp accounts.**

Remember that the permissions are the same ones you created in the Permissions Group section. For example, **the** **Sales Group** **will have access to the Sales Department**.

You can add **Subdepartments**, such as WhatsApp, which is a subdepartment of Customer Service.

**Follow the step-by-step guide:**

{% @arcade/embed flowId="6TyFPGG8JGQ8y3F4XyMY" url="<https://app.arcade.software/flows/6TyFPGG8JGQ8y3F4XyMY/view>" %}

*Done, your departments will be created!*


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.sprinthub.com/en/topics/system-settings/departments.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
