# Developer quickstart

Verify your identity, choose username and password authentication or API extraction, and make your first request with the fixed proxy gateway.

Before you start, complete identity verification and ensure your account has an active rotating residential plan. For a first request, use username and password authentication.

## Make a test request

```bash
curl --proxy 'http://us.zzhttp.com:7878' \
  --proxy-user "$PROXY_USERNAME:$PROXY_PASSWORD" \
  --connect-timeout 10 --max-time 30 \
  'https://ipinfo.io/json'
```

Copy the full proxy username and the subaccount password from the Console and assign them to `PROXY_USERNAME` and `PROXY_PASSWORD`. The response's `ip` field is the exit address. Check `country` and `region` for an initial location check.

## Choose an access method

- Use username and password authentication for server-side programs that support proxy credentials.
- Use API extraction to manage gateway addresses in batches.
- The source IPv4 allowlist applies only to API extraction and shared-port authentication.

## Store credentials securely

- Use the credential gateway at `us.zzhttp.com:7878` and the full username from the Console.
- Store the password in a server-side secrets manager.
- Keep proxy credentials out of browser code and Git repositories.

## Verify the connection

- Start with an HTTP proxy request to a public IP lookup service.
- Compare the exit IP addresses with and without the proxy. If you selected a country, state, or province, verify the returned location before sending application traffic. Third-party geolocation can be inaccurate.
- Set separate connection and read timeouts.

## Diagnose a failure

- Check DNS resolution, the TCP connection, HTTP 407 authentication, CONNECT, TLS, and the destination response, in that order.
- Record the request time, request ID, and the failing stage with credentials removed.

html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}
