> ## Documentation Index
> Fetch the complete documentation index at: https://docs.optexity.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Proxy Setup

> Configure proxies for automations

Use proxies to run automations through different IP addresses.

## Local Development

Set environment variables:

```bash theme={null}
PROXY_URL=http://proxy-server:8080
PROXY_USERNAME=proxy-user      # optional
PROXY_PASSWORD=proxy-pass      # optional
PROXY_PROVIDER=other           # optional, default: oxylabs
```

***

## Production

No configuration needed. Optexity automatically uses proxies in production.

***

## Enabling Proxy in Inference

Set `use_proxy: true` in the inference request:

```json theme={null}
{
  "endpoint_name": "extract_price_stockanalysis",
  "input_parameters": {
    "search_term": ["NVDA"]
  },
  "unique_parameter_names": [],
  "use_proxy": true
}
```

***

## Proxy Providers

### Webshare

[Webshare](https://webshare.io/) provides 10 free proxies for testing.

```bash theme={null}
PROXY_URL=http://your-webshare-proxy:port
PROXY_USERNAME=your-username
PROXY_PASSWORD=your-password
```
