# Lấy app password

### Cách để lấy app password khi bạn đang để bảo mật 2 lớp

1. Bạn vào tài khoản google và vào phần bảo mật&#x20;
2. Kéo xuống dưới và chọn app password&#x20;

![](/files/-MLzcksKgOlbPvgYhdwf)

&#x20;   3\. Phần chọn app thì bạn chọn app thì bạn chọn là other (custom name).&#x20;

![](/files/-MLzcBEVSfF3uaf2OX9P)

Như ở đây mình đã tạo sẵn 1 app password tên là “Email smtp” (tên này bạn có để đặt bất kỳ lsao để dễ nhớ là được).

![](/files/-MLzcDloyppOiKSGDEMi)

&#x20;  4\. Bạn copy mã này vào phần password là được nhé


---

# 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://tailieu.botplus.io/email/cau-hinh-smtp/lay-app-password.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.
