> For the complete documentation index, see [llms.txt](https://userguide.hku.hk/studentportal/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://userguide.hku.hk/studentportal/how-to-access-hku-portal.md).

# How to access HKU Portal

Staff, students, holders of departmental accounts and retirees can access **HKU Portal** ([<mark style="color:green;">https://hkuportal.hku.hk</mark>](https://hkuportal.hku.hk/)) with their **HKU Portal UID** and **PIN** (password).&#x20;

### Application Procedure

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th></th><th data-type="files"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><strong>Student</strong></td><td>HKU Portal UID and PIN are distributed to new students upon admission registration.  No application is required.</td><td></td><td></td><td></td></tr><tr><td><strong>Staff</strong></td><td>See <a href="https://its.hku.hk/services/accounts-2fa/hku-portal-account/application/"><mark style="color:green;">application guideline</mark></a> </td><td></td><td></td><td></td></tr><tr><td><strong>Departmental Accounts</strong></td><td>Fill in <a href="https://itsnow.hku.hk/nav_to.do?uri=x_tuohk_its_eforms_cf106b.do"><mark style="color:green;">CF106b</mark></a>. </td><td></td><td></td><td></td></tr><tr><td><strong>Retiree</strong></td><td>Retirees can continue using their @hku.hk email account after retirement.  The account is subject to annual renewal and retirees will receive an email notification for renewing their accounts before 30 June each year.</td><td></td><td></td><td></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://userguide.hku.hk/studentportal/how-to-access-hku-portal.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
