# Tutorial on how to use account and password authentication

<mark style="color:red;">Please note:</mark> You need to create an account before using the endpoint generator sub-account authentication function. [Click here](https://doc.piaproxy.com/zh/dai-li-zhi-shi-zhi-nan/ru-men-zhi-nan/ru-he-zhu-ce-ji-deng-lu) for sub-account creation tutorial

1. **login**

Go to the Personal Center and click on the Unlimited Package, click 【Endpoint generator】 in the upper right corner

<figure><img src="https://1208415570-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F52u7wi9B41aCy2DPr6Vu%2Fuploads%2F6djqKPRRfgjmSGg4vEEK%2F%E5%9B%BE%E7%89%871.png?alt=media&#x26;token=fdabc9c9-4503-4cfc-9a0b-4c8484db1a61" alt=""><figcaption></figcaption></figure>

2. **Select verification method**

Select 【User】 as the verification method and select an account that has been created. If you have not created an account yet, please click 【Create A sub-Account】 to create one.

<figure><img src="https://1208415570-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F52u7wi9B41aCy2DPr6Vu%2Fuploads%2FsQSTZG8zvdkaBc5FYkXa%2F%E5%9B%BE%E7%89%872.png?alt=media&#x26;token=f937e04a-dfe6-42c9-bc4b-e58c9291b7a1" alt=""><figcaption></figcaption></figure>

3. **Location settings**

you can select the country you want to use according to your needs

<figure><img src="https://1208415570-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F52u7wi9B41aCy2DPr6Vu%2Fuploads%2Fkf79EBuffHPkukIaLHWb%2F%E5%9B%BE%E7%89%873.png?alt=media&#x26;token=32f0e969-0231-4365-b12b-38977ad587d7" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1208415570-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F52u7wi9B41aCy2DPr6Vu%2Fuploads%2F2bLM81nGuui4rv81z4TC%2F%E5%9B%BE%E7%89%874.png?alt=media&#x26;token=4dd8fa02-2e14-4716-96d1-afbc7bf405b6" alt=""><figcaption></figcaption></figure>

4. **Select the session type**

The session types are divided into 【Rotating session】 and 【Sticky session】
\
Rotating session: Each time you make a request, you will get a new IP
\
Sticky session: You can set the IP retention time according to your needs, up to 90 minutes

<figure><img src="https://1208415570-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F52u7wi9B41aCy2DPr6Vu%2Fuploads%2FJvXwraSyZhHlt6DMW85M%2F%E5%9B%BE%E7%89%875.png?alt=media&#x26;token=4554730d-d782-45af-aa1a-5f68f417fbad" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1208415570-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F52u7wi9B41aCy2DPr6Vu%2Fuploads%2F6QebLEb0FlxG2fONDDx7%2F%E5%9B%BE%E7%89%876.png?alt=media&#x26;token=a3f75b0d-3c26-435e-aadb-154ed7c34ce6" alt=""><figcaption></figcaption></figure>

If you need any help, feel free to contact customer service at support@piaproxy.com
