# Setup

A connection string is host, port, username, and password.

```
http://USER:PASSWORD@HOST:PORT
socks5://USER:PASSWORD@HOST:PORT
```

## Sticky sessions

Add a time and session id to the username. The number after `-time-` is minutes, up to 99,999.

```
USER-time-30-session-ab12cd34
```

## Country

On residential and mobile plans, add a two-letter country code to the username to pick where the address comes from. Without one it can be anywhere. It works with sticky sessions too.

```
USER-country-de
USER-country-gb-time-30-session-ab12cd34
```

## Operating system

On datacenter, ISP and IPv6 plans you can present a different device. Without a flag the connection looks like Linux.

```
USER-os-windows
USER-os-macos
USER-os-ios
USER-os-android
```

## Direct IPs

Datacenter plans can skip the gateway. The generator's Direct IPs mode lists live addresses, and each one is both the address you connect to and the one sites see. Use your plan's username and password with them.

## IP lock

On the generator page you can lock a plan to up to 10 of your own IPs. Other IPs are then refused, even with the right password. Leave the list empty to allow any IP.

The host, username and password come from your plan after payment. Ports differ by product and appear on the account page.

[Generator](https://slateproxy.com/generate)
