> For AI agents: the complete documentation index is available at https://proxykite.com/docs/llms.txt, the full documentation bundle is available at https://proxykite.com/docs/llms-full.txt.

# Set up your box, step by step

This page takes you from "I just paid" to "my proxies work". It takes about 10 minutes.
ProxyKite is software: the 4G dongles, the SIM cards and the box they plug into are yours.

## What you need

| Item                | Details                                                                                                                                                                                                      |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| A Linux box         | Raspberry Pi 4 or 5, a mini PC, an old laptop, or a [Proxmox VM](https://proxykite.com/docs/guide/proxmox.md). Debian, Ubuntu or Raspberry Pi OS. CPU: 64-bit Intel/AMD, arm64 or armv7. 1 GB RAM is enough. |
| Internet on the box | Normal broadband by cable or Wi-Fi. The box only makes outgoing connections, so you do **not** need a static IP or port forwarding.                                                                          |
| 4G dongles          | [Huawei E3372 (HiLink) or ZTE MF833T](https://proxykite.com/docs/guide/supported-dongles.md). One dongle = one proxy.                                                                                        |
| SIM cards           | One per dongle, with an active data pack. Test each SIM in a phone first.                                                                                                                                    |
| A powered USB hub   | Needed for more than 2 dongles. Dongles draw a lot of power; an unpowered hub makes them drop off.                                                                                                           |
| Your licence key    | Looks like `XXXX-XXXX-XXXX-XXXX`. It is shown right after payment and any time under **Nodes** in the panel.                                                                                                 |

One licence is for one box. The number of dongles on that box is the number you paid for.

## Step 1. Prepare the dongles

1. Put a SIM into each dongle. If the SIM has a PIN lock, remove the PIN first (put it in a phone and switch the SIM lock off).
2. Plug the dongles into the box, or into the powered hub that is plugged into the box.
3. Wait about one minute until the light on each dongle is steady.

## Step 2. Open a terminal on the box

Sit at the box, or connect over SSH from your computer:

```bash
ssh youruser@192.168.1.50      # use your box's own address
```

Check that the box can see the dongles:

```bash
lsusb | grep -i -E "huawei|zte"
# Bus 001 Device 004: ID 12d1:14dc Huawei Technologies Co., Ltd. E3372 LTE/UMTS/GSM HiLink Modem/Networkcard
```

You should see one line per dongle. If `lsusb` is missing, install it with `sudo apt-get install -y usbutils`.

## Step 3. Run the install command

Copy the install command from the page shown after payment, or from **Nodes** in the panel. It already contains
your licence key. Paste it into the terminal and press Enter:

```bash
curl -fsSL https://proxykite.com/install.sh | sudo bash -s -- --key XXXX-XXXX-XXXX-XXXX
```

The installer downloads the ProxyKite agent, verifies its checksum, registers the box with your account and
starts it as a service that also starts after every reboot. When it finishes it prints:

```text
Done. Check with: hostyourproxy status
```

## Step 4. Check that it works on the box

```bash
sudo hostyourproxy status
```

You should see `Tunnel: connected`, a recent `Last OK heartbeat`, and one line per dongle under `Dongles:`.
A dongle needs about 30 seconds after the install before it shows up.

## Step 5. Get your proxies from the panel

1. Sign in at [proxykite.com](https://proxykite.com/login) and open **Proxies**.
2. Each dongle is listed with its **host**, **port**, **username**, **password** and its own **rotation link**.
3. Test one from any computer (replace the values with yours):

```bash
curl -x http://USER:PASS@HOST:PORT https://api.ipify.org
# prints the public IP of that SIM
```

The same port works for HTTP and SOCKS5. Ready-made strings for browsers and tools are on [Proxy formats](https://proxykite.com/docs/guide/proxy-formats.md).

## Step 6. Change the IP

Press **Rotate IP** on the proxy page, or open the proxy's rotation link, then run the curl test again: the IP has
changed. A rotation takes about 10 to 30 seconds depending on the dongle. See [Rotation links](https://proxykite.com/docs/guide/rotation-links.md).

## If something does not work

| What you see                                  | What to do                                                                                                                                                                                                                                       |
| --------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `error: pass your licence key`                | The key is missing or mistyped. Copy the whole command again from **Nodes**.                                                                                                                                                                     |
| `error: run as root`                          | Keep the `sudo` in the command, exactly as copied.                                                                                                                                                                                               |
| `checksum mismatch` or `download failed`      | Wait one minute and run the command again.                                                                                                                                                                                                       |
| `unsupported CPU`                             | The box is not amd64, arm64 or armv7. Use another box.                                                                                                                                                                                           |
| No dongle under `Dongles:` after 1 minute     | Run `lsusb`. No line for the dongle: try another USB port or a powered hub. A Huawei shown as `12d1:1f01` or a ZTE shown as `19d2:1225` is still in storage mode: run `sudo apt-get install -y usb-modeswitch`, then unplug and plug the dongle. |
| The proxy is listed but shows **No internet** | The SIM has no data. Check the data pack and balance; a SIM that only opens the carrier's recharge page counts as no data.                                                                                                                       |
| The proxy answers `503` with `no-mobile-data` | The dongle has just started or is rotating. Wait 10 seconds and try again.                                                                                                                                                                       |
| The proxy answers `407`                       | Wrong username or password. After 20 wrong tries in 10 minutes that address is blocked for 15 minutes.                                                                                                                                           |
| The box shows **offline** in the panel        | Check the box has internet (`ping -c 3 proxykite.com`), then `sudo systemctl restart hostyourproxy`.                                                                                                                                             |
| Dongles disappear and come back               | Almost always USB power. Use a powered hub and a good power supply for the box.                                                                                                                                                                  |

To see what the agent is doing, live:

```bash
sudo journalctl -fu hostyourproxy
```

## Everyday commands

| Task                          | Command                                      |
| ----------------------------- | -------------------------------------------- |
| Status                        | `sudo hostyourproxy status`                  |
| Restart the agent             | `sudo systemctl restart hostyourproxy`       |
| Update to the newest agent    | Run the install command from **Nodes** again |
| Remove the agent from the box | `sudo hostyourproxy uninstall`               |

Adding a dongle later needs no command: plug it in and it appears under **Proxies** within about 30 seconds, as
long as your licence covers it. To move your licence to a new box, click **Release machine** on the node page,
then run the install command on the new box.

## Need help

Write to [support@proxykite.com](mailto:support@proxykite.com) with the output of `sudo hostyourproxy status`, and we will look at it with you.
