> For the complete documentation index, see [llms.txt](https://doc.sk5data.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.sk5data.com/doc/zh/dynamic-residential/zhang-mi-ren-zheng.md).

# 账密认证

本指南将指导您如何通过账密认证接入 sk5data 动态住宅代理，并为您提供所需的基础信息与详细操作步骤。

{% stepper %}
{% step %}

### 注册登录

访问 sk5data官方网站，点击页面右上角的「注册」按钮完成账户创建。

<div align="left"><figure><img src="https://3039172963-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdrfmG1p2fuJaL2TK4Odx%2Fuploads%2FCWpY8CjHlGlIY4HjiCSI%2Fimage.png?alt=media&amp;token=cab1685f-c4c6-4993-9dc1-c800f7ea7300" alt="" width="375"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

### 购买套餐

登录成功后，进入「动态住宅代理」购买页，根据您的业务流量需求，在「常规」或「企业」套餐中选择合适的规格，点击「立即购买」完成支付即可。

<div align="left"><figure><img src="https://3039172963-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdrfmG1p2fuJaL2TK4Odx%2Fuploads%2Fpcir6m9IgCHGTx5EF4Nt%2Fimage.png?alt=media&amp;token=d97343bd-4262-409f-b229-a65dbe5edb6a" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### 账户设置

使用账密认证方式接入代理时，系统默认将主账户作为用户名，如果您需要更多账户，可以通过子账户功能进行管理。

在仪表板中，依次导航至 **动态住宅代理 → 子账户 → 新增子账户** ，点击 新增**子账户** 按钮即可创建新代理用户。

<div align="left"><figure><img src="https://3039172963-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdrfmG1p2fuJaL2TK4Odx%2Fuploads%2FDpWXoiaGBQqGb5RTTrIN%2Fimage.png?alt=media&amp;token=2588cb30-586f-4ec9-9ac6-f011ad9ce8f7" alt="" width="375"><figcaption></figcaption></figure></div>

可设置**代理用户名**、**密码、**&#x8D26;户**状态（启用或禁用）**，并配置流量使用上&#x9650;**（**&#x9700;设定具体的**流量上限值**），完成配置后**保存**生效。

<div align="left"><figure><img src="https://3039172963-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdrfmG1p2fuJaL2TK4Odx%2Fuploads%2FsXafIjj5WTF5chSIgh7u%2Fimage.png?alt=media&amp;token=2a2d1c94-82ae-4c00-889f-b8a1ed4586ea" alt="" width="278"><figcaption></figcaption></figure></div>

**管理账户**：

在「子账号」列表页，您可以对代理用户进行以下操作：

* **搜索与筛选**：通过输入**用户名**精确搜索，或通过状态来检索目标用户。
* **信息编辑**：点击 **编辑**，可修改用户名、密码、备注、启用状态及流量使用限额（分配流量不可大于主账号）。

<div align="left"><figure><img src="https://3039172963-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdrfmG1p2fuJaL2TK4Odx%2Fuploads%2Fid4JL1xx6FoYrlueDgQ9%2Fimage.png?alt=media&amp;token=246fb46b-80b5-4ebd-baa5-4e018efb9dff" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### 获取代理

**1）认证方式**：在使用设置中选择「账密认证」。系统默认使用主账户作为代理用户名，您也可以在下拉列表中选择其他子账户。

**2）位置与协议**：系统将自动分配代理域名。支持自定义定位（国家/城市/ASN 等）及选择代理协议（HTTP / SOCKS5）。

**3）会话类型**：

* **轮换会话**：每次请求自动切换 IP，适合高匿名抓取。
* **粘性会话**：支持 1–120 分钟会话保持（适合连续任务）。

**4）测试连通性**

复制生成界面提供的测试命令即可验证（只支持在非中国大陆环境使用）

```
curl -L -x "[username]:[password]@[hostname]:[port]" ipinfo.io
```

**5）输出格式**

选择所需的连接协议、代理数量及导出格式后，即可生成代理。您可以将获取到的凭证配置到任意程序或工具中开始使用。

系统生成的凭证格式为：代理地址:代理端口:代理账号:代理密码。

<div align="left"><figure><img src="https://3039172963-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdrfmG1p2fuJaL2TK4Odx%2Fuploads%2FTte2WxhoIi152w7UN9Qr%2Fimage.png?alt=media&amp;token=35927892-0f10-4ecb-ba33-e95c17aa0b04" alt="" width="375"><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="https://3039172963-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdrfmG1p2fuJaL2TK4Odx%2Fuploads%2FdmlX7VMJx23PGBuqDq9C%2Fimage.png?alt=media&amp;token=60e53b15-b30b-4a89-a02a-e5b1cd6e9f11" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### 用量统计

动态住宅代理/用量统计 页面，查看动态住宅代理的流量消耗情况。

支持按时间范围、账户层级（主账户 / 子账户）筛选流量使用数据。

<div align="left"><figure><img src="https://3039172963-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdrfmG1p2fuJaL2TK4Odx%2Fuploads%2F63776w9JXKT6O1Js0LX1%2Fimage.png?alt=media&amp;token=94a9c545-795a-4528-9796-f926a94fbacc" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://doc.sk5data.com/doc/zh/dynamic-residential/zhang-mi-ren-zheng.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
