> For the complete documentation index, see [llms.txt](https://sigafdocumenta.saude.mg.gov.br/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sigafdocumenta.saude.mg.gov.br/sistemas-municipais/autenticacao/login-e-senha-da-autenticacao.md).

# Login e Senha da Autenticação

Para definir o *login* e senha utilizados para autenticação do Webservice Municipal, siga o passo a passo:

* Abra o link de acesso ao [SIGAF](https://sigaf.saude.mg.gov.br) (<https://sigaf.saude.mg.gov.br>) e realize *login*.
* Vá no menu Monitoramento > Webservice Municipal > Usuário Webservice.

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

* Se não houver cadastro de usuário Webservice, o sistema irá exibir a seguinte mensagem:

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

* Para prosseguir com o cadastro clique em "Sim", então o sistema exibirá os campos a serem preenchidos.

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

### Dados Cadastrais da Empresa

* Os campos referentes aos Dados Cadastrais da Empresa devem ser preenchidos com os dados da empresa responsável pelo desenvolvimento/manutenção do Webservice Municipal.

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

### *Login*

* Os dados para autenticação do serviço serão:
  * **Usuário**: campo de preenchimento automático pelo sistema com o Código IBGE do município ao qual o estabelecimento de saúde está vinculado.
  * **Senha**: preencha o campo com uma senha que cumpra as regras estabelecidas.

<img src="/files/ycdmrqNCKzJsJX0h4APA" alt="" class="gitbook-drawing">

{% hint style="info" %}
Não se esqueça de encaminhar os dados de *login* e senha para a empresa que irá realizar a integração com o SIGAF via webservice após finalizar o cadastro!
{% endhint %}

### Salvar o cadastro

* Preenchidos os campos clique em "Salvar", o sistema exibirá a seguinte mensagem:

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

* Se estiver certo sobre os dados clique em "Sim" e o sistema exibirá a seguinte mensagem:

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

* Cadastro realizado!

{% hint style="warning" %}
Não se esqueça de encaminhar os dados de *login* e senha para a empresa que irá realizar a integração com o SIGAF via webservice.
{% endhint %}


---

# 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://sigafdocumenta.saude.mg.gov.br/sistemas-municipais/autenticacao/login-e-senha-da-autenticacao.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.
