# Logging Webhook

## Step 1

Create a webhook in your Discord channel.

:::hint{type="info"}
[How to create a webhook?](https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks)
:::

## Step 2

Open `server/webhook.lua` in `koja-lib` and set the webhook URL in `KOJA.Server.Webhooks` under the `cardealer` key.

```lua title="webhook.lua"
KOJA.Server.Webhooks = {
    ['cardealer'] = '' -- URL of the webhook
}
```


## Done

***

If you want different embed styling, edit the webhook payload in the same file.

## Related pages

- [Creating a Cardealer](/new/cardealer/configuration/creating-a-cardealer) — Create a vehicles list and link it to the name section of the zone
- [Changing Language](/new/cardealer/configuration/changing-language) — You can choose a language from available ones or you can create your own
- [Configuration](/new/cardealer/configuration) — back to the section overview
