For the complete documentation index, see llms.txt. This page is also available as Markdown.

Tạo API key của Google

B1: Đăng nhập vào tài khoản Google

Truy cập vào console.cloud.google.com sau đó nhấn tạo “New Project” giao diện sẽ như ảnh dưới, sau đó nhấn tạo và chọn “Create”. Nếu đã có sẵn Project thì chọn vào Project đó

Ví dụ chọn "GoogleMailtoSheet" như ảnh

Đặt tên Project ⇒ sau đó bấm Create

B2: Tạo Credentials key

Chọn APIs & Services hoặc theo link sau https://console.cloud.google.com/apis/credentials

Nhấn vào nút “Create credentials” chọn OAuth client ID

Chọn Configue consent screen

Chọn Get started

Nhập tên App name + chọn gmail của bạn

Tích chọn External Next

Contact Infomation chọn Gmail của bạn ⇒ bấm Next sau đó chọn Create

Sau khi thao tác xong, chọn Create credentials ⇒ chọn OAuth client ID ⇒ chọn Web application ⇒ Nhập Name (có thể để mặc định như ảnh)

Trong Authorized redirect URIs nhập https://n8n.cpc1hn.com/rest/oauth2-credential/callback sau đó chọn Create

Sau khi tạo xong sẽ sinh ra Client ID Client secret (lưu ý bảo mật mã này không chia sẻ cho người khác)

Last updated