---
title: documentation
url: 'https://lynal.ru/en/tools/lynal-analytics/documentation'
markdown: 'https://lynal.ru/en/tools/lynal-analytics/documentation.md'
lang: en
date: '2026-11-26'
description: 'Instruction for Connecting Analytics and Installing the Agent for Lynal BDS Analytics 1. Registration and Server Creation on the Lynal BDS Analytics Service Service Registration Follow the link) to the Lynal BDS Analytics registration page and create an account. Creating a New Server In the co…'
---

# Instruction for Connecting Analytics and Installing the Agent for Lynal BDS Analytics

## 1. Registration and Server Creation on the Lynal BDS Analytics Service

1. **Service Registration**Follow the [link](https://air.lynal.ru/auth/register)) to the Lynal BDS Analytics registration page and create an account.

    ![Lynal BDS Analytics website registration form with fields for email and password](https://lynal.ru/user/pages/14.tools/13.lynal-analytics/documentation/12.png "Lynal BDS Analytics website registration form with fields for email and passwordе")
2. **Creating a New Server**In the control panel, click the button to add a game server:

    ![Control panel interface featuring a button to create a new serve](https://lynal.ru/user/pages/14.tools/13.lynal-analytics/documentation/13.png "Control panel interface featuring a button to create a new serve")
3. **Filling in Server Details**Specify your server name, IP address or host, port, and time zone. This data is required for the service to correctly query and retrieve the accurate number of real-time players:

    ![Data entry window: name, IP, port, and time zone selection](https://lynal.ru/user/pages/14.tools/13.lynal-analytics/documentation/14.png "Data entry window: name, IP, port, and time zone selection")
4. **Selecting the Serve**Find and select your newly created server from the list:

    ![List of connected servers inside the Lynal control panel](https://lynal.ru/user/pages/14.tools/13.lynal-analytics/documentation/15.png "List of connected servers inside the Lynal control panel")
5. **Obtaining Agent Credentials**Go to the server settings section. Keep this page open and note the block containing the agent data (`X_AGENT_TOKEN` and `SERVER_ID`) — you will need them in the next step.

    ![Server settings page displaying the agent token and server ID](https://lynal.ru/user/pages/14.tools/13.lynal-analytics/documentation/16.png "Server settings page displaying the agent token and server ID")

## 2. Выбор типа установки агента

- Addon [behavior pack](https://lynal.ru/en/tools/lynal-analytics/documentation/addon-behavior-pack)
- Wrapper script [Linux](https://lynal.ru/en/tools/lynal-analytics/documentation/agent-linux), [Windows](https://lynal.ru/en/tools/lynal-analytics/documentation/agent-windows)

## 2. Installing the Agent on the Game Server

> For users on the Windows OS, please follow [this](https://lynal.ru/en/tools/lynal-analytics/documentation/agent-windows) guide.

1. **Downloading Required Files**Download the agent script and the static binary curl file to your computer:

    - [bedrock\_server.sh](https://lynal.ru/files/tools/bedrock_server.sh) (MD5: `0368259e2775044b66bedc35e2dc0e4d`)
    - [curl-amd64](https://github.com/moparisthebest/static-curl/releases/download/v8.21.0/curl-amd64)
2. **Editing the Script**Open the downloaded `bedrock_server.sh` file in a text editor (e.g., Notepad, Notepad++, or VS Code).

    ![Process of opening the script file in a text editor](https://lynal.ru/user/pages/14.tools/13.lynal-analytics/documentation/17.png "Process of opening the script file in a text editor")
3. **Configuring Variables**Go back to the open server settings browser page. Copy the values and paste them into the script inside the empty quotes for the `X_AGENT_TOKEN` and `SERVER_ID` variables, then save the changes.

    ![Adding the token and server ID into the script configuration lines](https://lynal.ru/user/pages/14.tools/13.lynal-analytics/documentation/18.png "Adding the token and server ID into the script configuration lines")
4. **Stopping the Server**Completely stop your Minecraft Bedrock game server before continuing with the tasks.
5. **Creating a Backup**⚠️ Make sure to create a backup of all your game server files before making any modifications
6. **Connecting to the Server**Connect to your game server's file system using FTP or SFTP protocol ([WinSCP](https://winscp.net/eng/download.php) or any other convenient FTP/SFTP client is recommended).
7. **Locating the Executable File**Find the original server executable file in the root directory. It is typically named `bedrock_server` (on Linux) or `server`.
8. **Preparing the Agent File**Rename the modified `bedrock_server.sh` file on your computer so that its name matches the exact name of your server's original executable file.

    - *Example:* `bedrock_server.sh` ➡️ `bedrock_server`
9. **Renaming the Original File**On the game server itself, rename the original file exactly to `bedrock_server_original`. The name must be exactly as follows:

    - *Example:* `bedrock_server` ➡️ `bedrock_server_original`
10. **Uploading Files to Hosting**Upload the prepared `bedrock_server` file (which is the renamed agent script) and the `curl-amd64` file into the root directory of your game server.
11. **Opening File Properties**In WinSCP, right-click the uploaded bedrock\_server file and select "Properties":

    ![WinSCP window with context menu and file properties window open](https://lynal.ru/user/pages/14.tools/13.lynal-analytics/documentation/19.png "WinSCP window with context menu and file properties window open")
12. **Granting Execution Permissions (Crucial!)**In the properties window, check the launch/execute permissions (**X**) for the `bedrock_server` file. Click "OK" to save. Repeat the exact same action for the `curl-amd64` file:

    ![Setting execution checkmarks (Execute / X) inside the file permissions settings](https://lynal.ru/user/pages/14.tools/13.lynal-analytics/documentation/20.png "Setting execution checkmarks (Execute / X) inside the file permissions settings")
13. **Verifying File Structure**Make sure that the following files are now present in the root folder of your game server:

    - `bedrock_server` — agent-wrapper (our configured shell script)
    - `bedrock_server_original` — the original Minecraft game server executable file
    - `curl-amd64` — compiled static curl binary used to transmit data to the analytics backend

    ![File list in the server root verifying correct naming conventions and the presence of curl](https://lynal.ru/user/pages/14.tools/13.lynal-analytics/documentation/21.png "File list in the server root verifying correct naming conventions and the presence of curl")
14. **Startup and Verification**You're all set! Start your game server using your usual startup command. It will now automatically begin collecting and passing connection logs to the Lynal BDS Analytics service.

---

## Navigation

- Parent: [Lynal BDS Analytics — Analytics Platform for Minecraft Bedrock Server](https://lynal.ru/en/tools/lynal-analytics.md)
- Children:
  - [addon-behavior-pack](https://lynal.ru/en/tools/lynal-analytics/documentation/addon-behavior-pack.md)
  - [Agent Linux](https://lynal.ru/en/tools/lynal-analytics/documentation/agent-linux.md)
  - [Agent Windows](https://lynal.ru/en/tools/lynal-analytics/documentation/agent-windows.md)
