> For the complete documentation index, see [llms.txt](https://docs.eseye.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.eseye.com/api-reference/api-reference-pt-br/add-a-user-for-infinity-api-access.md). Agents can also search and read this documentation through its [MCP server](https://docs.eseye.com/~gitbook/mcp).

# Criando usuários e credenciais da API da Eseye

Antes de chamar as APIs do Eseye Infinity, é necessário ter uma  **conta de serviço**. Uma conta de serviço contém credenciais de máquina — um ID do cliente e um segredo do cliente — que seu aplicativo usa para se autenticar na API. Ela é separada dos logins do portal que sua equipe usa para entrar.

### Pré-requisito

Sua conta do portal precisa ter permissão para gerenciar contas de usuário. Se  **Contas de usuário** não aparecer em  **Portfólio**, entre em contato com o administrador.

### Criar a conta de serviço

1. Acesse o  [portal Infinity](https://infinity.anynetiot.com/mfe/infinity/dashboard).
2. Selecione  **Portfólio** > **Contas de usuário**.
3. Selecione  **Ações** > **Contas de serviço** > **Ações** > **Adicionar novo usuário**.
4. Informe o endereço de e-mail, o nome e o sobrenome e, em seguida, selecione as funções de acesso necessárias para o aplicativo.

<figure><img src="https://2963694113-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0xQKujz8nVihyxgGvU7r%2Fuploads%2F2jZbgzJ3tZSjaJxzQCgD%2Fnews-service-accounts.png?alt=media&amp;token=f434f705-ec6c-49d0-be78-e2186a2ce68a" alt="The New Service Accounts dialog with email address, first name, last name and access roles"><figcaption></figcaption></figure>

5. Selecione  **Salvar**.

### Copiar as credenciais do cliente

Depois de salvar a conta, o Infinity exibirá seu ID do cliente e seu segredo.

{% hint style="warning" %}
**Importante:** Copie e armazene com segurança o ID do cliente e o segredo antes de fechar a página. Não será possível recuperá-los depois que a página for fechada no Infinity.
{% endhint %}

<figure><img src="https://2963694113-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0xQKujz8nVihyxgGvU7r%2Fuploads%2Fgit-blob-d0cce7ebb19d43b25ffa90b025e0aa5321082572%2Fcreating-eseye-api-credentials-02.png?alt=media" alt="The Eseye API credentials sign-in fields in the Eseye SIM Validation Suite"><figcaption></figcaption></figure>

### Substituir um segredo do cliente perdido

Não é possível visualizar nem recuperar um segredo do cliente depois de fechar a janela de confirmação. Se você perdê-lo:

1. Exclua a conta de serviço existente.
2. Crie uma nova conta de serviço.
3. Atualize o aplicativo com o novo ID do cliente e o novo segredo do cliente.

Antes de excluir uma conta de serviço, confirme que as credenciais não estão mais em uso.


---

# 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.eseye.com/api-reference/api-reference-pt-br/add-a-user-for-infinity-api-access.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.
