> 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/platform-administration/digibee-apis/how-to-create-api-credentials.md).

# Como criar credenciais de API

Siga estes passos para gerar uma chave de API:

1. No menu **Digibee APIs**, entre em **Credenciais**.
2. Clique no botão **+Criar** no canto direito superior da página de **Credenciais de API.**
3. Insira o **Nome do usuário**, **Senha** e clique em **Salvar credenciais**.

{% hint style="warning" %}
Depois de salvar, a Plataforma adiciona o nome do realm a seu nome de usuário por padrão. &#x20;
{% endhint %}

4. Uma chave de API será gerada automaticamente e estará desabilitada por padrão.
5. Clique em **Fechar**.

{% hint style="info" %}
Copie sua chave de API clicando no ícone de copiar e salve em um local seguro. Se você perdê-la, uma nova chave de API deverá ser criada.
{% endhint %}

6. O sistema irá selecionar **Métricas de API** por padrão.
7. Ao finalizar o processo, sua URL personalizada será exibida na página de credenciais de API. Copie e salve para uso posterior.&#x20;

Acompanhe todas as etapas no vídeo abaixo:

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkqXsI0cPgzRnwxNhnH%2Fuploads%2FlXcRKdjEgJdhOQaJ8AMK%2Fdigibee%20api2.mp4?alt=media&token=e269a425-a2bb-4447-a8c6-01982d64e8ab>" %}
Digibee APIs
{% endembed %}


---

# 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/platform-administration/digibee-apis/how-to-create-api-credentials.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.
