> For the complete documentation index, see [llms.txt](https://hawklib.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hawklib.gitbook.io/docs/notifications/notification-setup.md).

# Notification Setup

## Getting Notifications

```luau
-- Initialize notification system
-- HawkLib and required key should be written before this part
local Notif = HawkLib:AddNotifications()
```

There are 4 types of notifications:

{% hint style="success" %}
Done
{% endhint %}

{% hint style="danger" %}
Error
{% endhint %}

{% hint style="warning" %}
Warning
{% endhint %}

{% hint style="info" %}
Notification
{% endhint %}
