> 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).

# Criando usuários e credenciais da API da Eseye

Antes de você poder chamar as APIs do Eseye Infinity, elas precisam de 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 fica separada dos logins do portal que sua equipe usa para fazer login.

### Pré-requisito

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

### Crie 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. Digite o endereço de e-mail, o primeiro nome e o sobrenome e, em seguida, selecione as funções de acesso de que o aplicativo precisa.

<figure><img src="https://2963694113-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0xQKujz8nVihyxgGvU7r%2Fuploads%2Fgit-blob-8cb5ff493433224fd9db714579f22975a4fa863f%2Fcreating-eseye-api-credentials-01.png?alt=media" alt="The New Service Accounts dialog with email address, first name, last name and access roles"><figcaption></figcaption></figure>

5. Selecione **Salvar**.

### Copie as credenciais do cliente

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

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

Você usa esses detalhes para fazer login no Eseye SIM Validation Suite (Tabby).

<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>

### Substitua um segredo do cliente perdido

Você não pode visualizar nem recuperar um segredo do cliente depois de fechar a janela de confirmação. Se você o perder:

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.

Confirme que as credenciais não estão mais em uso antes de excluir uma conta de serviço.


---

# 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.
