> For the complete documentation index, see [llms.txt](https://kb.stoque.com.br/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.stoque.com.br/zeevdocs/criar-bibliotecas/como-criar-uma-biblioteca.md).

# Como criar uma biblioteca

## Visão geral

Biblioteca é um repositório de documentos e informações que deve estar, necessariamente, associada a uma empresa e responsável. Isso significa que você não consegue criar uma biblioteca antes de criar a sua empresa e responsável.

Cada biblioteca possui características únicas, como os campos (e seus formatos), regras de negócio, grupos e tipos de documentos, entre outros.

### Com criar uma biblioteca

As bibliotecas são criadas no módulo **Biblioteca** > **Nova / editar:** &#x20;

![Módulo administrativo de bibliotecas](/files/fzTiKDR849phBHXkZDml)

O processo de criação de uma biblioteca se resume em:

* Definir um nome para a biblioteca (<mark style="color:red;">obrigatório</mark>);
* Definir uma descrição para a biblioteca (<mark style="color:red;">obrigatório</mark>);
* Definir a qual empresa e responsável ela pertence (<mark style="color:red;">obrigatório</mark>);
* [Criar campos indexadores](/zeevdocs/criar-bibliotecas/como-criar-uma-biblioteca/campos-da-biblioteca.md) (opcional, porém, recomendado);
* Habilitar o controle de versão de arquivos (opcional);
* Habilitar o recurso de pesquisa full-text (opcional).

{% hint style="danger" %}
**Atenção:** após importar documentos para a bibloteca, a troca do tipo do campo e da fonte de dados pode ocasionar inconsistência e sua biblioteca pode parar de funcionar. Ao modificar a fonte de dados, garanta que os tipos de dados são iguais e que o limite de tamanho do campo está sendo respeitado.
{% endhint %}

As configurações supracitadas entregam no final uma biblioteca no modelo abaixo:&#x20;

![Uma biblioteca pronta e publicada](/files/ek4AqLNmCRAPbrg5At58)


---

# 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://kb.stoque.com.br/zeevdocs/criar-bibliotecas/como-criar-uma-biblioteca.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.
