> For the complete documentation index, see [llms.txt](https://docs.cohota.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cohota.com/cac-quan-ly-co-ban/tich-hop-google-assignment-vao-lms.md).

# 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="https://2530085169-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlpydtdwnZ68j8oe1b-%2Fuploads%2FIj41rAdA0Lxc8Inlkcit%2FScreen%20Shot%202022-10-31%20at%2017.32.29.png?alt=media&amp;token=ee5a0dc4-6e56-406c-8697-763b3f4c7cce" 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="https://2530085169-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlpydtdwnZ68j8oe1b-%2Fuploads%2FYz9qaMLyhHfTzn3N7B6a%2FScreen%20Shot%202022-10-31%20at%2017.35.54.png?alt=media&amp;token=aaeb5245-68a0-4133-8fca-d0695808c338" 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="https://2530085169-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlpydtdwnZ68j8oe1b-%2Fuploads%2F67Hez4XZXXMEU1Qac3a9%2FScreen%20Shot%202022-10-31%20at%2017.42.19.png?alt=media&amp;token=50ce6bc8-ddb7-46a2-a34b-7b2b09811219" 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="https://2530085169-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlpydtdwnZ68j8oe1b-%2Fuploads%2FVZ1DeWnDNQ4UHfDk2Oos%2FScreen%20Shot%202022-10-31%20at%2017.53.27.png?alt=media&amp;token=5c2bcf1c-c0b6-40b7-86b1-866af5162f42" 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="https://2530085169-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlpydtdwnZ68j8oe1b-%2Fuploads%2FC1P45jljf1EoNZJ5uPBN%2FScreen%20Shot%202022-10-31%20at%2017.57.34.png?alt=media&amp;token=4bdd751f-d62e-46a0-baad-9b326efe198a" 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="https://2530085169-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlpydtdwnZ68j8oe1b-%2Fuploads%2FrjY58YOZFLVwMDUbkDmZ%2FScreen%20Shot%202022-10-31%20at%2018.12.16.png?alt=media&amp;token=dadf4f6c-0045-44f6-b5e8-590829cf7cce" 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="https://2530085169-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlpydtdwnZ68j8oe1b-%2Fuploads%2FZTRqqkFyR8y4y8rHRXqy%2FScreen%20Shot%202022-10-31%20at%2018.10.45.png?alt=media&amp;token=28bac800-13d1-4229-a66a-ca85ca2d8753" alt=""><figcaption></figcaption></figure>
