How to Set Up a Proxy - Complete Step-by-Step Guide for 2026
By Marcus Reiner · 2026-07-27 · 11 min read · Education
Setting up a proxy is simpler than it looks once you know where to click. Here is a complete, practical walkthrough for every major setup - Windows, macOS, Chrome, Python and antidetect browsers.
What you need before you start
Every proxy setup, regardless of the method, needs the same four pieces of information from your proxy provider's dashboard: the proxy host or endpoint (an address like gate.provider.com), the port number, and a username and password for authentication. Some providers use IP whitelisting instead of username/password - if that's the case, you'll add your own device's IP address to an allowlist in your provider's dashboard instead of entering credentials.
Before doing anything else, log into your provider's dashboard and copy these four values somewhere handy. Getting this wrong is the single most common reason a proxy setup doesn't work on the first try - a typo in the port number or an expired password will fail silently in most tools rather than showing a clear error.
Method 1 - Setting up a proxy on Windows (system-wide)
This routes all your device's internet traffic through the proxy, not just one browser or app. Open Settings, then Network & Internet, then Proxy. Under Manual proxy setup, toggle Use a proxy server to On. Enter your proxy host in the Address field and your port number in the Port field, then click Save.
If your proxy requires a username and password, Windows will prompt you for these the first time an app tries to connect through the proxy - enter them when prompted, and check the box to remember them if offered. To turn the proxy off later, go back to the same screen and toggle it back to Off.
Method 2 - Setting up a proxy on macOS (system-wide)
Open System Settings, then Network, then select your active connection (Wi-Fi or Ethernet) and click Details. Go to the Proxies tab. Check the box for the proxy protocol you need - Web Proxy (HTTP) for most use cases, or Secure Web Proxy (HTTPS) if your provider specifies HTTPS.
Enter your proxy host and port in the fields provided. If authentication is required, check Proxy server requires password and enter your username and password. Click OK, then Apply. To disable it later, uncheck the same protocol box and click Apply again.
Method 3 - Setting up a proxy in Chrome (browser-only, via extension)
System-wide proxy settings route everything through one proxy, which isn't always what you want - a browser extension gives you more control and lets you switch proxies without touching your whole device's network settings. Install a proxy management extension from the Chrome Web Store (search 'proxy switcher' or use the extension your provider recommends, if any).
Open the extension and add a new proxy profile. Enter your host, port, and authentication credentials in the fields provided. Save the profile, then activate it from the extension's toolbar icon. Most proxy extensions let you save multiple profiles and switch between them with one click, which is useful if you're testing several proxies or need to switch between residential and datacenter IPs for different tasks.
Method 4 - Setting up a proxy in Python (for scraping and automation)
If you're writing a script rather than configuring an app, the setup lives in your code instead of your operating system. Using the popular requests library, the pattern looks like this: define a proxies dictionary with 'http' and 'https' keys, each pointing to a URL string in the format http://username:password@host:port, then pass that dictionary to the proxies parameter of your request call.
For example: proxies = {'http': 'http://user:[email protected]:10000', 'https': 'http://user:[email protected]:10000'}, then requests.get('https://example.com', proxies=proxies). If you're using Playwright or Selenium instead of requests, both have their own proxy configuration options passed at browser-launch time rather than per-request - check your specific tool's documentation for the exact parameter names, since they differ between Playwright, Puppeteer and Selenium.
A common mistake: forgetting to URL-encode special characters in your password if it contains symbols like @ or : - these will break the connection string silently. If your proxy credentials include special characters and the connection fails with no clear error, this is the first thing to check.
Method 5 - Setting up a proxy in an antidetect browser (GoLogin, Multilogin)
Antidetect browsers handle proxy configuration per-profile rather than system-wide, which is the whole point - each isolated browser identity gets its own proxy alongside its own fingerprint. Open your antidetect browser and create a new profile, or edit an existing one. Look for the Proxy tab or section in the profile settings.
Select your connection type - most providers support HTTP, SOCKS5, or SSH. Enter the proxy host, port, username and password in the corresponding fields. Most antidetect browsers include a built-in proxy checker button - use it before saving to confirm the connection works and see the detected IP and location. Save the profile. The proxy assignment persists across sessions, so you won't need to re-enter it each time you launch that profile.
One detail that matters more in antidetect browsers than anywhere else: match the profile's timezone and geolocation settings to the proxy's actual location. A US proxy IP paired with a browser reporting a European timezone is a mismatch that many anti-bot systems specifically check for, and it can undermine an otherwise correctly configured setup.
How to verify your proxy is actually working
After any setup method, don't just assume it worked - verify it. Visit a site that shows your current IP address (many exist; search 'what is my IP' in any search engine) before and after activating the proxy. If the IP address shown changes to match your proxy provider's range, the connection is working correctly.
If the IP doesn't change, check these in order: confirm the proxy toggle or extension is actually active (not just configured), double-check the host and port for typos, confirm your credentials haven't expired or hit a usage limit in your provider's dashboard, and confirm you're testing in the same browser or app where you configured the proxy - a system-wide Windows or macOS proxy setting won't affect an app that has its own separate proxy configuration overriding it.
Frequently Asked Questions
What information do I need to set up a proxy?
Four things from your provider's dashboard: the proxy host/endpoint, the port number, and a username and password (or your device's IP address, if your provider uses IP whitelisting instead of login credentials).
Should I set up my proxy system-wide or just in my browser?
System-wide (Windows or macOS network settings) routes all your device's traffic through the proxy - use this when you want everything protected. A browser extension is better when you only need certain browsing sessions proxied and want to switch between multiple proxy profiles easily.
Why isn't my proxy working after I set it up?
Most commonly: a typo in the host or port, expired or incorrect credentials, the proxy toggle not actually being active, or testing in a different app than the one you configured. Verify by checking your IP address before and after activating the proxy.
How do I use a proxy in a Python script?
Build a proxies dictionary with 'http' and 'https' keys pointing to a URL in the format http://username:password@host:port, then pass it to the proxies parameter of your requests call. If your password contains special characters like @ or :, they need to be URL-encoded or the connection will fail silently.
Do I need a different proxy setup for antidetect browsers?
Yes - antidetect browsers like GoLogin and Multilogin configure proxies per browser profile rather than system-wide, since each profile is meant to be an isolated identity. Match the profile's timezone and geolocation to the proxy's actual location for the most consistent results.