# Connect a HTTPS destination

You can use [KPN Things Destinations](/kpn-things/building-blocks/destinations.md) to forward your device data to any supported platform or destination. The tool Webhook.site is used for this tutorial. Although we have good experience with this tool, KPN is not responsible for the proper working of the tool.

## 1. Create test HTTPS endpoint <a href="#create-test-https-endpoint" id="create-test-https-endpoint"></a>

Go to [https://webhook.site](https://webhook.site/). Webhook.site is a service with which you can easily inspect incoming HTTP requests. When vising the site it will automatically create a unique HTTPS endpoint for you. Use the **Copy to clipboard** button that is highlighted in the screenshot below to copy the URL of your new endpoint.

<figure><img src="https://files.gitbook.com/v0/b/gitbook-legacy-files/o/assets%2F-Lk--W63k9ANNPlqjsHK%2F-M8MQeVjaywTaaxW9q7L%2F-M8MSLVJI1JX86DNIdjL%2Fimage.png?alt=media&#x26;token=acfc69db-c10c-439d-9caa-fe441ef92d68" alt=""><figcaption></figcaption></figure>

## 2. Create your first Destination <a href="#create-your-first-destination" id="create-your-first-destination"></a>

Go to the **Flows** > **My first flow** and click *Link destination*

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

Choose *Create a new Destination.*

<figure><img src="/files/8ci1JnuWNjFikmJrVCsY" alt=""><figcaption></figcaption></figure>

Select *HTTPS endpoint* as destination type.

<figure><img src="/files/6QHNDK5KbqGgzt5Ngrnq" alt=""><figcaption></figcaption></figure>

## 3. Fill in your Destination Information <a href="#fill-in-your-destination-information" id="fill-in-your-destination-information"></a>

After selecting HTTPS Endpoint, fill in the following information:

* **Destination name**: you can think of a good recognisable name for your first destination, like *My First Destination*.
* **URL**: this should be the URL you just copied from webhook.site.
* **Shared secret**: this is a kind of password that an application should use to verify that KPN Things sent the data to the endpoint. It should be at least 32 characters long and should contain at least an uppercase character, lowercase character, digit, and special character.

## 4. Test connection with test message

Send a test message, e.g. by using the [Device simulator app](/kpn-things/getting-started/quickstart/device-simulator-web-app.md). You should see incoming information on your webhook.

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

## Congratulations! 🎉

You successfully set up your first IoT solution!&#x20;

To continue learning you can continue with:


---

# 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.kpnthings.com/kpn-things/getting-started/tutorials/connect-a-https-destination.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.
