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

# 如何使用住宅代理？

在配置動態住宅代理之前請先確認您已經添加了白名單IP或子用戶

## 通過API訪問代理

①點擊“代理服務”，選擇“動態住宅代理”

②選擇“API（IP白名單)”，點擊“代理設置”

<Frame>
  <img src="https://mintcdn.com/lokiproxy/8qtGMMQRQq-4JbxW/images/1-1.png?fit=max&auto=format&n=8qtGMMQRQq-4JbxW&q=85&s=abdacc8519724e0e7f289c21b881ca31" alt="1 1" width="1912" height="956" data-path="images/1-1.png" />
</Frame>

③選擇需要的國家/地區，或選擇全球混播

④根據實際需求決定是否啟用ASN配置功能

⑤輸入需要提取的IP數量，最多可輸入900

⑥按需選擇“協議類型”“格式”“分隔符”“會話類型”

⑦選擇主機。爲保證最佳連接，請根據您的網絡IP地址選擇就近的服務器。

⑧點擊“生成API鏈接”即可在右側“獲取API鏈接”中顯示

<Frame>
  <img src="https://mintcdn.com/lokiproxy/8qtGMMQRQq-4JbxW/images/2-3.png?fit=max&auto=format&n=8qtGMMQRQq-4JbxW&q=85&s=a7bea491cb1e7a0b84ba716ce677ca29" alt="2 3" width="1912" height="956" data-path="images/2-3.png" />
</Frame>

⑨點擊“打開鏈接”便能看到可用的代理列表

<Frame>
  <img src="https://mintcdn.com/lokiproxy/8qtGMMQRQq-4JbxW/images/3-1.png?fit=max&auto=format&n=8qtGMMQRQq-4JbxW&q=85&s=211d175b49ea6268b8dfe46d9613c71e" alt="3 1" width="755" height="606" data-path="images/3-1.png" />
</Frame>

## 通過用戶名/密碼訪問代理

①點擊“代理服務”，選擇“動態住宅代理”

②選擇“用戶名:密碼”，點擊“代理設置”

<Frame>
  <img src="https://mintcdn.com/lokiproxy/8qtGMMQRQq-4JbxW/images/4-1.png?fit=max&auto=format&n=8qtGMMQRQq-4JbxW&q=85&s=c2ba925e5ff72f70e4dc322703a0a3a0" alt="4 1" width="1912" height="956" data-path="images/4-1.png" />
</Frame>

③選擇需要的國家/地區，或選擇全球混播。

④根據實際需求決定是否啟用ASN配置功能

⑤選擇“會話類型”。選擇“輪換IP”會根據每次請求輪換IP，選擇“粘性IP”可設置IP持續時間。

⑥選擇主機。爲保證最佳連接，請根據您的網絡IP地址選擇就近的服務器。

⑦選擇需要訪問代理的“子用戶”。

<Frame>
  <img src="https://mintcdn.com/lokiproxy/8qtGMMQRQq-4JbxW/images/5-2.png?fit=max&auto=format&n=8qtGMMQRQq-4JbxW&q=85&s=5262a5ee2596a4ec380861f713f3289f" alt="5 2" width="1912" height="956" data-path="images/5-2.png" />
</Frame>

⑧最後在儀表板右側選擇代理數量和格式，點擊“生成”即可在“代理生成器”中獲得可用的代理列表。

<Frame>
  <img src="https://mintcdn.com/lokiproxy/8qtGMMQRQq-4JbxW/images/6.png?fit=max&auto=format&n=8qtGMMQRQq-4JbxW&q=85&s=0183ccf7cc21185f04d0723200b7821b" alt="6" width="609" height="639" data-path="images/6.png" />
</Frame>
