---
title: Adding a Web Page as a Device
slug: kronpam-reference-guide-3-9-0/adding-a-web-page-as-a-device
description: Learn how to setup role-based management and connect users and devices using Kron PAM's realms. Follow our step-by-step guide to define a webpage as a device, create device groups, and assign user permissions in Device Management. Set up device group real
docTags: 
createdAt: 2022-07-28T10:38:44.000Z
---

Kron PAM has role-based management functionality. Users and devices are connected by realms. In the Kron PAM HTTP Proxy, the user and the webpage should be connected as well. For this reason, the webpage needs to be added to the device inventory. This device then needs to be added to a device group, and a device group realm (device group + policies) needs to be configured between the device group and the user group.

To create the webpage element group:

1. Navigate to **Devices > Element Types**.
2. Click the **Add&#x20;**&#x62;utton.
3. Enter the **Element ID** an&#x64;**&#x20;Element Name** fields with the name of the webpage - these fields are just for definition purposes. If required select th&#x65;**&#x20;Association Tags.**
4. Click **Next&#x20;**&#x61;nd **Save.**

To create the devices, device groups, and device group realms:

1. Navigate to **Devices >  Inventory.**
2. Click the **Add&#x20;**&#x62;utton the&#x6E;**&#x20;Add Group** button if **Device Group** creation is needed before Device definition.
3. Click the **Add Device&#x20;**&#x62;utton.
4. Fill the fields with the proper definition of the device and its **Group Membership.**
5. Then clic&#x6B;**&#x20;Save**.

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/-k4n5utXLkUAkMdITk5DX_image.png" size="70" width="736" height="940" position="center" caption="Adding a web page as a device" showCaption="true"}

1. Navigate to **Policy**> **Realms.**
2. Click **Add.**
3. Choose the webpage’s **Device Group** and th&#x65;**&#x20;User Group** allowed to use HTTP Proxy.

