> For the complete documentation index, see [llms.txt](https://kindproxy.gitbook.io/kindproxy-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kindproxy.gitbook.io/kindproxy-docs/user-guide/get-started-with-residential-proxy-traffic/step-2-set-up-your-proxy/username-password-authentication.md).

# Username/Password Authentication

**Username/Password Authentication** requires clients to provide a valid username and password to access the proxy service.

**How it works:**

* Clients must enter their credentials (username and password) when connecting.
* The system verifies the credentials and grants access if they are correct.
* This method is typically used when IP-based authentication (whitelisting) is not an option or when more secure access control is required.

This method adds an extra layer of security by ensuring only authorized users can access the proxy.

<figure><img src="/files/8aI3K2v7L2ncVhH9qsef" alt=""><figcaption></figcaption></figure>

* **Select country**

In the search box, enter a country name or code to quickly find the country you need.

<figure><img src="/files/4LeHgQDIWY0Mwd1YC62s" alt=""><figcaption></figcaption></figure>

After selecting a country, you can further target specific states/cities and ASN. Please note that adding more targeting conditions may reduce the number of available IPs. If no resources are available, we recommend using broader targeting settings.

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

* **Select protocol**

The code example on the right will display content that aligns with the protocol.

<figure><img src="/files/5KvLUOKu50YOsDiLjbTh" alt=""><figcaption></figcaption></figure>

* **Select Host Type**

<div align="left"><figure><img src="/files/HgsN4dMr5kmnNq29mobA" alt=""><figcaption></figcaption></figure></div>

Choose how to connect to your proxy server: **DNS hostname** or **IP address**.\
**Please note** that this is the **proxy server’s address**, not the **actual outbound IP** that target websites will see. The outbound IP may vary depending on your session type and resource allocation.\
Although the proxy server’s address appears as a single IP, the service is powered by multiple backend servers through load balancing and auto-scaling, ensuring stable and reliable connections at all times.

* **Select Session Type**

<div><figure><img src="/files/rsFKRVV4A1HR7nOcF40b" alt=""><figcaption></figcaption></figure> <figure><img src="/files/Ze9NGfYyCvhlbzys1uwy" alt=""><figcaption></figcaption></figure> <figure><img src="/files/q5zIGeBq4KFuIsy9C9lY" alt=""><figcaption></figcaption></figure></div>

**Rotating IP** – Assigns a new IP for each request. Perfect for high-volume tasks, short-lived automation, or data collection without a persistent connection.

**Sticky Session** – Keeps the same IP for 3–1440 minutes. Ideal for login sessions, multi-step forms, or continuous browsing. Actual duration may vary depending on resource availability.

Note: Network performance may vary between different sticky sessions. If you experience slower speeds on a specific session, you can change the sessid to generate a new sticky session and routing path.

* **Select Sub Account**

<div align="left"><figure><img src="/files/QWNv31kSaWqysCWNxJ54" alt=""><figcaption></figcaption></figure></div>

You can select a sub-account from the dropdown menu.\
If you don’t have one yet, create it first. You can refer to the [Sub Account Management Guide](https://kindproxy.gitbook.io/kindproxy-docs/user-guide/sub-account-management) to manage your sub-accounts.\
Once selected, the username and password fields below will be filled in automatically.

All set! Run the test command below to verify your setup and view detailed information about the proxy IP, including its location.

<figure><img src="/files/3TjQGol0PT0wE4Y13xxR" alt=""><figcaption></figcaption></figure>

Copy the command below and run it in your **command-line tool** (such as CMD on Windows or Terminal on macOS/Linux).

<div align="left"><figure><img src="/files/Ae2pN7O5WHaa5m74bw26" alt=""><figcaption></figcaption></figure></div>

You can now start using your proxy IP in any scenario that suits your needs.

If you have any questions or need assistance, feel free to contact us at **<support@kindproxy.com>** or reach out to us on Telegram at <https://t.me/kindproxy_support1>. Our support team will get back to you promptly.
