# Cài đặt Google Console

### >> Xem chi tiết Video hướng dẫn: [Tại đây](https://youtu.be/rVN_Yj7KDWk?t=1107)

{% embed url="<https://youtu.be/rVN_Yj7KDWk?t=1096>" %}

### Bước 1: Đăng ký/ Đăng nhập tài khoản Google Developers Console

Đăng nhập tài khoản goodle trước đó

![](/files/-McY0k8FGlzGxIUBL8E6)

Truy cập vào đường link:[ ](https://developers.facebook.com/apps/)[Google Developers Console](https://console.developers.google.com/)

Khi trang web **Goolge Developers Console** hiện lên, web sẽ yêu cầu chúng ta đồng ý chính sách của họ. Chọn country `Vietnam` hoặc bất kì quốc gia nào![sau đó](https://lh3.googleusercontent.com/3_l97rr0GvhSP2XV5OoCkV2ZDTIisAOczrSdzNCBxhIKWrjXjHucxNwocghoUa39gw=w36-h36)`I agree...` ![sau đó](https://lh3.googleusercontent.com/3_l97rr0GvhSP2XV5OoCkV2ZDTIisAOczrSdzNCBxhIKWrjXjHucxNwocghoUa39gw=w36-h36)`Accept and continue`

![](/files/-McTjhAw8L4HP2fQWHf8)

### Bước 2: Tạo một dự án

Tạo một project mới bằng cách nhấn vào `Select a project`

![](/files/-McY-Rr80w-zi2dK7AEH)

Chon `New project`

![](/files/-McY24lpsZhxqxzNFwQG)

Màn hình sẽ xuất hiên thông tin cơ bản cho một dự án, điền và nhấn `Create`

![](/files/-McY2u8v4Da0K8_jIFKJ)

Tiếp theo, chọn vào mục `Oauth consent screen`![sau đó](https://lh3.googleusercontent.com/3_l97rr0GvhSP2XV5OoCkV2ZDTIisAOczrSdzNCBxhIKWrjXjHucxNwocghoUa39gw=w36-h36)`External`![sau đó](https://lh3.googleusercontent.com/3_l97rr0GvhSP2XV5OoCkV2ZDTIisAOczrSdzNCBxhIKWrjXjHucxNwocghoUa39gw=w36-h36)`Create`

![](/files/-McY3rYdN5Af_mACbcSs)

Điền các thông tin ở các mục sau vào và nhấn `Save and continue`

* App name: Tên app
* User support email: Email sử dụng để hỗ trợ người dùng
* App logo: Logo của app (tải hình ảnh)
* Application home page: Điền tên miền website
* Application privacy policy: Điền đường dẫn đến phần Privacy Policy trên website
* Application terms of service link: Điền đường dẫn đến phần Điều khoản sử dụng trên website
* Add domain: Tên miền website chính
* Developer contact information: Email liên hệ của nhà phát triển

![](/files/-McY6i9xeWrda-A8YXLE)

### Bước 3: Thiệt lập cho Google app

Chọn vào mục `Credentials`![sau đó](https://lh3.googleusercontent.com/3_l97rr0GvhSP2XV5OoCkV2ZDTIisAOczrSdzNCBxhIKWrjXjHucxNwocghoUa39gw=w36-h36)`Create credentials`![sau đó](https://lh3.googleusercontent.com/3_l97rr0GvhSP2XV5OoCkV2ZDTIisAOczrSdzNCBxhIKWrjXjHucxNwocghoUa39gw=w36-h36)`Oauth client ID`

![](/files/-McYA10MofhydY6A_CS0)

Tại Thể loại app, chọn `Web application`

![](/files/-McYAq_BfWC59GOeIOvA)

Tiếp đến mục `Name` quản trọ viên điền tên của app.

Tìm đến mục **Authorized JavaScript origins** và `add URL` của website vào

Tại mục `Authorized redirect URIs` và `add URL` có dạng như sau vào ô **URLs**:

```
http://tên-miền-của-bạn/_oauth/google
```

Quản trị viên cứ copy y nguyên cái link theo Hoola rồi thay chỗ “tên-miền-của-bạn” bằng đường link đến trang web của quản trọ viên là được. Bấm `Create` để tạo.

![](/files/-McYCOM6jLsQWeffzp1T)

Màn hình cửa sổ hiện lên bao gồm **ID** và **mã secret** cho website

![](/files/-McYEdkmychnAth7R7Ha)

> Copy và Paste vào trong phần cài đăng Đăng nhập bằng mạng xã hội bằng Google trong phần quản lý web là DONE


---

# 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.hoola.vn/huong-dan-cai-dat-he-thong/dang-ky-and-dang-nhap/dang-nhap-bang-mang-xa-hoi/cai-dat-google-console.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.
