> For the complete documentation index, see [llms.txt](https://docs.iproyal.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.iproyal.com/proxies/residential/proxy.md).

# Proxy

In this section, we will delve into the creation and configuration of a proxy string. We'll cover how to target specific locations, apply rotation settings, select the appropriate protocol, and more. Additionally, we will demonstrate how to make a request using a proxy.

To begin, it's important to understand that a proxy string comprises four elements: **host**, **port**, **username**, and **password**. While there are multiple methods to combine these four elements, for the sake of simplicity, we will adopt the format: **HOST:PORT:USERNAME:PASSWORD**.

Residential proxies utilize the **password** segment of the string to configure the aforementioned settings. For instance, consider the following proxy string designed to target the state of California in the USA:

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

As mentioned earlier, the string has four main sections (highlighted in blue), and the last one is labeled 'Password.' This section holds all the configuration details for the proxy.

### Proxy Regions

We offer multiple proxy regions:

* `proxy.iproyal.com` - Germany region
* `us.proxy.iproyal.com` - US region
* `sg.proxy.iproyal.com` - Singapore region

For automatic region selection, use `geo.iproyal.com` - it will automatically connect you to the most optimal region based on your request IP location.


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.iproyal.com/proxies/residential/proxy.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
