# 开始使用前的必要设置

<mark style="background-color:red;">**注**</mark><mark style="background-color:red;">：软件已更新，现在将自动使用每个协议号生成时所使用的API进行登录，所以不再需要用户去申请和设置个人API。</mark>

## 1、API设置

需要在软件的<mark style="background-color:blue;">**系统配置**</mark>内填入API相关信息。可以用自己的TG小号去官网注册，注册步骤如下：

<figure><img src="/files/yfzdACF5SlkDm5BPpZ1X" alt=""><figcaption></figcaption></figure>

1、打开[ ](https://my.telegram.org)[<mark style="background-color:blue;">https://my.telegram.org</mark>](https://my.telegram.org) 输入你的手机号（需要加入国际区号）

2、点击<mark style="color:blue;background-color:blue;">Next</mark>，会收到一串验证码，把验证码填入后点击<mark style="color:blue;background-color:blue;">Sign in</mark>(注意，如果手机号注册过TG，验证码会发到客户端，而非手机短信内)

3、点击<mark style="color:blue;background-color:blue;">API development tools</mark>链接

4、<mark style="color:blue;background-color:blue;">App title</mark>、<mark style="color:blue;background-color:blue;">Short name</mark>和<mark style="color:blue;background-color:blue;">URL</mark>随便填，<mark style="color:blue;background-color:blue;">Platform</mark>项选择<mark style="color:blue;background-color:blue;">**Desktop**</mark>，然后点击<mark style="background-color:blue;">Create application</mark>提交

5、将申请到的<mark style="color:blue;background-color:blue;">App api\_id</mark>和<mark style="color:blue;background-color:blue;">App api\_hash</mark>分别填入软件上<mark style="color:blue;background-color:blue;">系统配置</mark>内的<mark style="color:blue;background-color:blue;">API设置</mark>里，然后点击保存

**PS**：如果提交申请时提示<mark style="color:red;background-color:red;">error</mark>，则是你网络的原因，可以换下代理再重试

## 2、代理设置

第一次使用软件，需要在<mark style="background-color:blue;">**系统配置**</mark>内进行<mark style="background-color:blue;">**代理设置**</mark>。根据自己电脑网络的情况选择相应的设置并保存：

<figure><img src="/files/HMBCZ44EvEW5eJlFwyip" alt=""><figcaption></figcaption></figure>

1、如果电脑网络能直接访问telegram服务器，那就不勾选任何选项，直接点击<mark style="background-color:blue;">**测试网络/代理**</mark>按钮，日志如果显示网络正常，则点击<mark style="background-color:blue;">**保存列表/设置**</mark>按钮，结束！

2、如果电脑系统开启了VPN，则勾选<mark style="background-color:blue;">**启用系统代理**</mark>，然后点击<mark style="background-color:blue;">**测试网络/代理**</mark>按钮，日志如果显示网络正常，则点击<mark style="background-color:blue;">**保存列表/设置**</mark>按钮，结束！

3、如果想使用独立的socks5代理，则把代理信息填入列表框内，然后勾选<mark style="background-color:blue;">**启用代理列表**</mark>，点击<mark style="background-color:blue;">**测试网络/代理**</mark>按钮，软件将对列表框内的所有代理依次进行测试，并将测试结果显示在日志上。日志如果显示代理IP连接正常，则点击<mark style="background-color:blue;">**保存列表/设置**</mark>按钮，结束！

<mark style="background-color:red;">**注**</mark><mark style="background-color:red;">：代理列表内的支持的格式为:</mark>          <mark style="color:blue;background-color:red;">**IP:端口**</mark>     <mark style="background-color:red;">或</mark>     <mark style="color:blue;background-color:red;">**账号:密码@IP:端口**</mark>


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.jifengtg.com/start.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
