> For the complete documentation index, see [llms.txt](https://docs.digibee.com/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digibee.com/documentation/developer-guide/pt-br/development-cycle/build-overview/capsulas/how-to-use-capsules/how-to-save-a-capsule.md).

# Como salvar uma Cápsula

Siga estas etapas para salvar uma Cápsula:

1. Clique no botão **Salvar** no canto superior direito do ambiente da Cápsula.
2. No campo **Título da Cápsula**, insira o título da Cápsula que será exibido na listagem de Cápsulas.
3. O campo **Nome da Cápsula** é preenchido automaticamente, mas pode ser editado se necessário. O nome é gerado pelo título que você inseriu no campo anterior e é o identificador da Cápsula.

{% hint style="warning" %}
O nome da Cápsula deve ser único dentro da coleção. Portanto, não é possível ter mais de uma Cápsula com o mesmo nome na mesma [coleção](/documentation/developer-guide/pt-br/development-cycle/build-overview/capsulas/how-to-use-capsules/how-to-create-a-capsule-collection.md), mesmo que elas estejam em [grupos](/documentation/developer-guide/pt-br/development-cycle/build-overview/capsulas/how-to-use-capsules/how-to-create-a-capsule-group.md) diferentes.
{% endhint %}

1. Adicione uma descrição em **Descrição da Cápsula**.
2. Selecione o ícone para representar a Cápsula dentro do grupo.
3. Selecione a coleção que deseja adicionar a Cápsula. Se você não tiver uma [coleção criada](/documentation/developer-guide/pt-br/development-cycle/build-overview/capsulas/how-to-use-capsules/how-to-create-a-capsule-collection.md), a Cápsula será salva no **Default Collection**.
4. Selecione o grupo que deseja adicionar a Cápsula. Se você não tiver um [grupo criado](/documentation/developer-guide/pt-br/development-cycle/build-overview/capsulas/how-to-use-capsules/how-to-create-a-capsule-group.md), a Cápsula será salva no **Default Group**.

{% hint style="info" %}
Você pode mudar a coleção e o grupo da Cápsula depois de salvá-la. Aprenda mais em [Como mudar uma Cápsula de coleção ou grupo](/documentation/developer-guide/pt-br/development-cycle/build-overview/capsulas/how-to-use-capsules/how-to-change-a-capsule-collection-or-group.md).
{% endhint %}

8. Veja como a Cápsula está ficando em **Pré-visualização da Cápsula**.
9. Clique em **Salvar**.

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

Salvar a Cápsula não a disponibiliza na lista de Cápsulas no *pipeline*. Para disponibilizá-la, você deve [publicar a Cápsula](/documentation/developer-guide/pt-br/development-cycle/build-overview/capsulas/how-to-use-capsules/how-to-publish-a-capsule.md).

Cápsulas que ainda não foram publicadas tem a tag de **Desenvolvimento** na página de Cápsulas.

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


---

# 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.digibee.com/documentation/developer-guide/pt-br/development-cycle/build-overview/capsulas/how-to-use-capsules/how-to-save-a-capsule.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.
