# Initial Setup

Send a request to <mark style="color:blue;">gw\.netnut.net</mark>:5959 using a random IP address provided through our backconnect entry. Use your proxy user credentials to replace USERNAME and PASSWORD and enter the relevant site URL. Note that NetNut residential proxies rotate automatically, assigning a new IP address for each new request.&#x20;

cURL example:

<mark style="color:blue;">`curl`</mark>` ``-x  USERNAME-res-any:PASSWORD@gw.netnut.net:5959 "example.site.com"`

NetNut residential proxies support HTTP/HTTPS/ SOCKS5 protocols. Learn more [here](/netnut-documentation/netnut-proxies/residential-proxies/protocols.md).

You can specify which country IP to use by adding the two-letter country code to your username string. For example, a request that goes through a proxy in the Netherlands would add nl, as in the example below:

<mark style="color:blue;">`curl`</mark> `-x  USERNAME-res-nl:PASSWORD@gw.netnut.net:5959 "example.site.com"`

See a list of country codes [here.](https://countrycode.org/)  Please note that for the United Kingdom, NetNut uses the code UK, not GB.

You can target the city and state level with your request. For example, adding nl\_amsterdam to the username string specifies the request go through a proxy from Amsterdam in the Netherlands:

<mark style="color:blue;">`curl`</mark> `-x  USERNAME-res_sc-nl_amsterdam:PASSWORD@gw.netnut.net:5959 "example.site.com"`

You can also specify a US state/city configuration.

Learn more about proxy targeting options at the city/state level [here](https://portal.netnut.io/states-and-cities).&#x20;

&#x20;

Session control allows you to keep the same proxy for multiple consecutive requests. Sending requests with the same username string (session ID) will give you the same proxy IP. To do this, add sid-44575 to your string, as in the example below (can be any random string):

<mark style="color:blue;">`curl`</mark> `-x  USERNAME-res-<COUNTRY CODE>-sid-917244575:PASSWORD@gw.netnut.net:5959 "example.site.com"`

See our [Integration Guides](https://netnut.io/integrations/) to learn about third-party setup and configuration. NetNut supports third-party tools such as: MultiLogin, Web Scraper, Jarvee, Puppeteer, and more.

&#x20;

The Endpoint Generator offers an alternate way to set up residential proxies:

1\.       Log in to the dashboard

2\.       Select Residential Proxies and then click Endpoint Generator

3\.       Choose parameters

4\.       Use endpoints provided to integrate NetNut proxies with your third-party tool

&#x20;

Log in to the dashboard for additional functions such as tracking usage statistics and sub-user information.&#x20;

Please contact your personal account manager or our support team with any questions at <support@netnut.io>.

***


---

# Agent Instructions: 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:

```
GET https://help.netnut.io/netnut-documentation/netnut-proxies/residential-proxies/initial-setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
