> For the complete documentation index, see [llms.txt](https://docs.codebattles.ru/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.codebattles.ru/en/installation/kak-zaiti.md).

# How to log in

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

To access the page, you need to go to the <mark style="color:red;">gateway</mark>, port <mark style="color:red;">2500</mark>\
If the system is running locally, then <http://localhost:2500>

It is impossible to test frontends, user interfaces directly without using the gateway port.

{% hint style="warning" %}
**Why is this?**\
\
This occurs because the frontends are configured to go to the same port. When opening the frontend without the gateway, the application tries to access the API, but this will not work due to the different port
{% endhint %}

Databases and APIs will work fine


---

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

```
GET https://docs.codebattles.ru/en/installation/kak-zaiti.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
