# API kết nối website

Để thiết lập và quản trị key, tại trang quản trị Nobi Pro , bạn vào **Thiết lập -> Danh sách Key.** Giao diện sẽ hiển thị như hình dưới:&#x20;

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

**1. Thêm mới Key**

Tại giao diện quản lý danh sách key,  để thêm mới key, bạn vui lòng thực hiện theo các bước sau:

Bước 1: Nhấn vào button "Thêm mới"  -> Form thêm mới key hiển thị

Bước 2: Nhập tên key

Bước 3: Chọn ngày hết hạn (nếu không nhập, key sẽ không có thời hạn)

Bước 4: Chọn chi nhánh (Nếu không chọn chi nhánh thì key sẽ áp dụng cho toàn hệ thống.

Bước 5: Click "Thêm mới"

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

**2. Cập nhật Key**

Tại giao diện quản lý danh sách key, để cập nhật key, bạn vui lòng thực hiện theo các bước sau:

Bước 1: Click dấu 3 chấm bên phải key

Bước 2: Click "Sửa" -> Form cập nhật hiển thị

Bước 3: Nhập thông tin cần cập nhật

Bước 4: Click "Cập nhật"

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

## 3. Xóa key

Tại giao diện quản lý danh sách key, để xóa mẫu in, bạn vui lòng thực hiện theo các bước sau:

Bước 1: Click dấu 3 chấm bên phải key

Bước 2: Click "Xóa"

Bước 3: Click "Đồng ý

<figure><img src="/files/ShZcq1GrptY6MuCqzEZS" 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://helpv2.nobita.pro/thiet-lap/api-ket-noi-website.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.
