> 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

Aprenda como preencher o formulário para salvar a Cápsula na Digibee Integration Platform.

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="https://content.gitbook.com/content/cO0A6g1dOsu8BiHYqO67/blobs/ChWISmH4mN52NoE5WebD/salvar-c%C3%A1psula.gif" 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="https://content.gitbook.com/content/cO0A6g1dOsu8BiHYqO67/blobs/V2R2Eel8dSRNhLbbSt8Z/salvar-c%C3%A1psula-2.png" 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 by asking a question.

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

```
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=<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.
