# Tích hợp Google Assignment vào LMS

Thầy/ cô truy cập trang [Google Assignment Console](https://coursekit.google.com/admin).&#x20;

{% hint style="warning" %}
Lưu ý: Thầy cô sử dụng tài khoản Google Education để đăng nhập
{% endhint %}

<figure><img src="/files/wg7lE1GBZ0GbipseWnlG" alt=""><figcaption><p>Giao diện khi thầy/ cô đã truy cập vào trang admin của Google Assignment</p></figcaption></figure>

Thầy/ cô nhấn nút **Generate new pair**. Chọn **Other LMS,** nhập tên "Cohota LMS LTI". Sau đó nhấn nút **Generate**

<figure><img src="/files/5XFycGXFQviz4Sacdjmv" alt=""><figcaption><p>Giao diện chọn loại LMS</p></figcaption></figure>

Google sẽ khởi tạo cho thầy cô thông tin để tích hợp bao gồm **Key** và **Secret.** Thầy/ cô sẽ sử dụng hai thông tin này để tích hợp vào LMS.

{% hint style="info" %}
**Key** và **Secret** thầy/ cô nên copy và lưu trữ lại ở đâu đó trên máy cá nhân hoặc chụp hình lại
{% endhint %}

<figure><img src="/files/luday47sRKPzir8CXbwh" alt=""><figcaption><p>Giao diện khi Google đã khởi tạo xong thông tin tích hợp</p></figcaption></figure>

Tiếp đến, Thầy/ cô đăng nhập vào LMS.&#x20;

* Đối với thầy/ cô là **quản trị viên nhà trường/ Trung tâm** cài Google Assignment cho đơn vị của mình trên LMS.&#x20;
  * Thầy cô vào **Quản trị viên** > Chọn tên đơn vị của mình > Chọn **Cài đặt** > Chọn tab **Ứng dụng** > Nhấn vào **Xem cấu hình ứng dụng**

    <figure><img src="/files/jV0glZ4F5A07d5vwqJLa" alt=""><figcaption></figcaption></figure>
  * Thầy/ cô nhấn nút **+ Ứng dụng**, \
    \- chọn Loại cấu hình: **Theo URL.**\
    \- Khung nhập tên: đặt tên tùy ý.\
    \- Consumer Key: **Copy** giá trị **Key** ở phần trên dán vào đây.\
    \- Shared Secret: **Copy** giá trị **Secret** ở phần trên dán vào đây.\
    \- Cấu hình URL: <https://googleapis.cohota.com/assignments/configure.xml\\>
    \
    Sau đó, Thầy/ cô nhấn nút **Gửi đi** để lưu lại thông tin cấu hình.

    <figure><img src="/files/7nr9uc9ewAxeKfZkfJGF" alt=""><figcaption></figcaption></figure>
* Đối với thầy/ cô là giáo viên của nhà trường/ Trung tâm cài Google Assignment cho cá nhân và học sinh của mình sử dụng trên LMS.
  * Thầy cô vào một khóa học đang muốn tích hợp trên LMS. Chọn **Cài đặt khóa học** > chọn **tab Ứng dụng** > Chọn **Xem cấu hình ứng dụng**.

    <figure><img src="/files/7RKt5fB01SjCejNK8TSP" alt=""><figcaption></figcaption></figure>
  * Thầy/ cô nhấn nút **+ Ứng dụng**, \
    \- chọn Loại cấu hình: **Theo URL.**\
    \- Khung nhập tên: đặt tên tùy ý.\
    \- Consumer Key: **Copy** giá trị **Key** ở phần trên dán vào đây.\
    \- Shared Secret: **Copy** giá trị **Secret** ở phần trên dán vào đây.\
    \- Cấu hình URL: <https://googleapis.cohota.com/assignments/configure.xml\\>
    \
    Sau đó, Thầy/ cô nhấn nút **Gửi đi** để lưu lại thông tin cấu hình.

    <figure><img src="/files/fni9Kcu129CkI7XoeTYL" 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://docs.cohota.com/cac-quan-ly-co-ban/tich-hop-google-assignment-vao-lms.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.
