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

# Webhook Setup

The Webhook system helps you take logs from within the game using Discord.

## Steam API

To ensure the Webhook system works smoothly, you need to enter your Steam API in the steam\_webApiKey section of the `server.cfg`. Otherwise, you may encounter issues.

## Setup

1. In the `Webhook` section of `config.lua`, the `URL` part is where you will enter the Discord Webhook's URL. (Required!)
2. In the `Webhook` section of `config.lua`, the `ImageURL` part is where you will enter the webhook image, and it must be in the form of an image URL. (Required!)
3. If you set `enabled` to `true`, the Webhook system will start working.
4. If you set `noJobLog` to `true`, the information of people who do not have the required profession will be logged.
5. If you want to adjust the colors, you need to use a site that converts HEX to Decimal colors.
