> 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

Biblioteca é um repositório de documentos e informações, que deve estar necessariamente associada a uma empresa e responsável.

## 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](https://content.gitbook.com/content/OIJt1dLjDh8tPhhAr4Od/blobs/JE6cf8oz5Eu8WF3WVAiQ/image.png)

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](https://content.gitbook.com/content/OIJt1dLjDh8tPhhAr4Od/blobs/Hp7VxIWZLywFVDkDL69v/image.png)


---

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