# Creating Webhooks

## Step by Step Walkthrough

1. Login to your account in [panel.bace-iot.com](https://panel.bace-iot.com/).
2. Click into Project you want to setup a webhook.

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

3. From left navigation, go to Integration -> Webhooks

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

4. Click Create Webhook button and fill in the details accordingly:

**Webhook Label:** Provide a name that will help you remember what the webhook is for

**Forwarding Type:** Select Measurements or Events, this determines the type of information you are sending in the webhook&#x20;

* Measurements is for sending values of the data types (i.e. Temperature: 27.8 C) [BACE Webhooks](/integrations/bace-webhooks.md#sending-measurements-as-a-webhook)
* Events is for sending platform specific events (i.e. Device Online) [BACE Webhooks](/integrations/bace-webhooks.md#sending-events-as-a-webhook)

**Webhook formatter:** Select one of the available formatter. More details on formatters and example response can be found on [BACE Webhooks](/integrations/bace-webhooks.md#how-to-use-bace-webhooks)

**Authorization:** Add your authorization token. Some examples are `Bearer <TOKEN>` or `ApiKey <TOKEN>`

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

5. Click create and you are done! You can check the response codes of the webhooks by clicking into Webhook Attempts tab.

<figure><img src="/files/3rjPkgqIaUKJxbEu0KiF" 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://docs.bace-iot.com/bace-panel/creating-webhooks.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.
