# Enable 2FA

การยืนยันตัวตนแบบสองชั้น (Two-Factor Authentication: 2FA) ช่วยรักษาความปลอดภัยของบัญชีคุณ โดยกำหนดให้ต้องใช้ทั้งรหัสผ่านและรหัสยืนยันแบบใช้ครั้งเดียวทุกครั้งที่เข้าสู่ระบบ

**การตั้งค่า 2FA สำหรับบัญชีของคุณ**

1. ติดตั้งแอปพลิเคชัน Authenticator เช่น Google Authenticator หรือ Microsoft Authenticator บนอุปกรณ์มือถือของคุณ
2. ในแผงผู้ดูแลระบบ (Admin Panel) ให้คลิกไอคอนโปรไฟล์ที่มุมขวาบน และเลือก Configure 2FA
3. เพิ่มบัญชีของคุณในแอป Authenticator โดยการสแกน QR Code ที่แสดงขึ้น หากไม่สามารถสแกน QR Code ได้ ให้คลิก Setup Key และป้อนคีย์ที่ได้รับในแอปของคุณ
4. ป้อนรหัส 6 หลักจากแอป และคลิก Configure

<figure><img src="/files/2B5mEuuxKLO1IvyM4oGx" alt=""><figcaption></figcaption></figure>

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

***

**การกู้คืนการเข้าถึงเมื่อตั้งค่า 2FA แล้ว**

หากคุณสูญเสียการเข้าถึงอุปกรณ์ Second Factor (เช่น โทรศัพท์หาย ถูกขโมย หรือถูกรีเซ็ต) คุณสามารถดำเนินการดังต่อไปนี้:

* ลองกู้คืนแอป Authenticator จากการสำรองข้อมูล หากมี
* ติดต่อผู้ดูแลระบบเพื่อรีเซ็ตการตั้งค่า 2FA ของคุณ

เมื่อกู้คืนการเข้าถึงได้แล้ว คุณจะต้องรีเซ็ต 2FA และกำหนดค่าใหม่อีกครั้ง

**การรีเซ็ต 2FA**

1. คลิกไอคอนโปรไฟล์ที่มุมขวาบนของหน้าจอ และเลือก Reset 2FA
2. ป้อนรหัส 6 หลักจากแอป และคลิก Reset

ขณะนี้ระบบจะทำการออกจากระบบโดยอัตโนมัติ และคุณสามารถกำหนดค่า 2FA ใหม่ได้

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


---

# 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://readyidc.gitbook.io/readyidc-docs/readme/compute-resources/enable-2fa.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.
