# Thêm website từ Blogger App

Để thực hiện đăng bài lên blogger, bạn cần tạo ra ít nhất 1 project để cấp quyền đăng bài. Quy trình tạo project gồm 2 bước: tạo project và cấp quyền.

{% hint style="info" %}
Một project blogger có thể đăng lên nhiều website bạn tạo trong blogger.com
{% endhint %}

### **Hướng dẫn tạo project**

Truy cập vào Google Cloud Platform, bằng cách [**bấm vào link**](https://console.cloud.google.com/apis/enableflow?apiid=blogger.googleapis.com\&credential=client_key)

Trong trường hợp bạn chưa tạo Project nào. Bấm "Create Project"

<figure><img src="/files/4Z16wykA07K8bU2CHMM4" alt="" width="563"><figcaption></figcaption></figure>

Sau đó tại popup, bạn bấm New Project

<figure><img src="/files/ep6sXAlR27VGc38DQO9G" alt="" width="563"><figcaption></figcaption></figure>

Sau đó bạn điền tên project trong ô Project Name. Sau đó bấm nut Create để tạo ra project

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

Sau khi đã có project, bạn sẽ cho phép project này có quyền truy cập vào API Blogger. Bạn có thể bấm vào [**link này**](https://console.cloud.google.com/apis/enableflow?apiid=blogger.googleapis.com\&credential=client_key) để tạo nhanh

Bấm Next

<figure><img src="/files/EJPSdZeCukPjcB2fBEZj" alt="" width="563"><figcaption></figcaption></figure>

Sau đó bấm Enable.

<figure><img src="/files/p32iyaZzW4zMeCg2rrwp" alt="" width="375"><figcaption></figcaption></figure>

Sau khi Enable, bạn cần bấm tạo ra màn hình xác nhận, để tạo bạn [bấm vào link ](https://console.cloud.google.com/apis/credentials/consent)hoặc chọn theo menu

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

Tiếp tục bạn chọn User Type là Extenal.

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

Sau đó điền các thông tin Google hỏi. Bạn chỉ cần điền các thông tin có đấu (\*) là được

<figure><img src="/files/54FYxfWZvWzIcuJ2GOxh" alt=""><figcaption></figcaption></figure>

Tiếp tục bạn cấp quyền cho Project

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

Sau khi bấm vào nút Add Or Remove Scope, Gõ Blogger API tại ô Fillter và chọn như hình. Sau đó bấm nút Update

<figure><img src="/files/7Msl49eD5UZTdQ2eNAvO" alt=""><figcaption></figcaption></figure>

Tại màn hình xác nhận bấm "Save and Continue"

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

Tại màn hình tiếp theo, bấm "Save And Continue"

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

Tại bước cuối bạn chỉ cần bấm "Back to Dashboard" là xong 90%

<figure><img src="/files/0ldHWeZnKhmZwCsT8EKz" alt=""><figcaption></figcaption></figure>

Tại dashboard, bạn bấm

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

Sau đó xác nhận

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

Sau khi xác nhận app, bạn bấm vào menu, bạn có thể [bấm vào link này](https://console.cloud.google.com/apis/credentials) cho nhanh

<figure><img src="/files/M4akAc4ZumJbIVP2cLDN" alt="" width="375"><figcaption></figcaption></figure>

Chọn "Create Credentials" và chọn tiếp "Oauth client ID"

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

Tại màn hình OAuth client Id, chọn Application Type là Web Application

<figure><img src="/files/0LJ1VxcWvjPCoC43beL2" alt=""><figcaption></figcaption></figure>

Sau dó bạn điền như hình.

Name: tùy ý

**Authorize redirect URIs**: <https://aiktp.com/callback/blogger.php>

Chú ý cần điền chính xác mục Authorize redirect URIs thì app mới chạy được.

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

Sau khi bấm nút Create để hoàn tất. Một màn hình sẽ hiện ra. Bạn sẽ copy 2 thông tin này để dán vào AIKTP

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

### Thêm project vào AIKTP

Để thêm project vào AIKTP bạn sử dụng 2 thông tin ở bước trên: client ID và JSON file.

Tại aiktp, bấm vào mục thêm blogger app, hoặc bấm [trực tiếp link này ](https://aiktp.com/websites-blogger-app)

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

Sau đó bấm nút "Add Blogger App" và điền thông tin Client ID và nội dung trong file JSON vào

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

Sau khi thêm project vào. Bạn sẽ bấm "Bấm để xác nhận quyền".

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

&#x20;Tác vụ này sẽ cho phép Project kết nối với Gmail quản lý các domain trong blogger. Sau khi bấm bạn sẽ thấy 1 thông báo

<figure><img src="/files/n9JtojWgzaxwcA3zw98K" alt="" width="375"><figcaption></figcaption></figure>

Bạn xác nhận bằng cách "Select All" và bấm "Continue". Như vậy Project của bạn đã có thể kết nối với Email quản lý blogger.

Sau đó trở lại trang [quản lý blogger app](https://aiktp.com/websites-blogger-app) bạn có thể load các domain từ blogger vào AIKTP

<figure><img src="/files/4ZzPN8YODS5NwrSHLUqR" alt=""><figcaption></figcaption></figure>

Chọn các domain bạn muốn thêm vào AIKTP và hoàn tất

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

### **Video hướng dẫn**

{% embed url="<https://youtu.be/GEO5OEmDU5M>" %}

### **Chú ý**

* Một project blogger có thể đăng vào nhiều blog trong blogger.
* Nếu bạn chưa tạo domain trong blogger, bạn cần tạo mới tại [http://blogger.com](http://blogger.com/)


---

# 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://vn.docs.aiktp.com/ai-seo/quan-ly-website/them-website-tu-blogger-app.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.
