> For the complete documentation index, see [llms.txt](https://manual.gnrx.com.br/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://manual.gnrx.com.br/gnrx-gestao-de-cipa-manual/estruturas/colaboradores/vincular-unidades.md).

# Vincular uma unidade a um colaborador

Diga em quais unidades o colaborador trabalha.

## Vincular uma unidade a um colaborador

**Para que serve:** dizer em quais unidades o colaborador trabalha.

{% hint style="info" %}
**Quem pode fazer:** Supervisor, Gestor ou Administrador, com a permissão de editar colaboradores.
{% endhint %}

### Antes de começar

* A [unidade](https://github.com/victor-gnrx/gnrx-manual/tree/main/epi/configuracoes-iniciais/unidades/criar-unidade.md) precisa existir.
* O colaborador precisa estar ativo.

### Passo a passo

{% stepper %}
{% step %}

#### Abra o colaborador

Clique em **Estruturas › Colaboradores**. Na coluna **Ações**, abra o menu e clique em **Visualizar**.
{% endstep %}

{% step %}

#### Adicione a unidade

No quadro **Unidades**, clique em **Adicionar Unidade**. Na janela **Associar Unidade**, escolha a **Unidade** e clique em **Associar**.

<figure><img src="https://1127366365-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcZQlAc4zwbFtLzmKrbiZ%2Fuploads%2Fgit-blob-7c0266db5f7ceeacd985ab299aa4e6c0cb284905%2Fcolaboradores-unidade-01.png?alt=media" alt="Quadro Unidades do colaborador com o botão Adicionar Unidade e a janela Associar Unidade aberta"><figcaption><p>Associar Unidade</p></figcaption></figure>
{% endstep %}
{% endstepper %}

{% hint style="info" %}
**Para remover:** clique no ícone de lixeira da unidade e confirme em **Remover unidade**. Aparece "Unidade removida com sucesso".
{% endhint %}

### Deu errado?

{% hint style="warning" %}
**"É obrigatório"**: escolha uma unidade antes de confirmar.
{% endhint %}

### Dúvidas comuns

<details>

<summary>O botão Adicionar Unidade está apagado.</summary>

O colaborador está inativo. Reative antes.

</details>

<details>

<summary>E o setor?</summary>

O setor fica dentro da unidade. Veja [Vincular setor e cargo](https://github.com/victor-gnrx/gnrx-manual/tree/main/epi/configuracoes-iniciais/colaboradores/vincular-setores.md).

</details>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://manual.gnrx.com.br/gnrx-gestao-de-cipa-manual/estruturas/colaboradores/vincular-unidades.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
