## Creating Headless Play Links

Headless Play mode allows you to remove all frames related to applications except the monitoring board screen and execute it. Below, we'll guide you on how to create the headless link needed to run in this mode.

## Creating a Headless Link

1. **Confirm the Target URL**: Check the URL that will be the target for Headless Play. This URL is the basic page address where you want to run the monitoring board screen.

![headless-link-01]

2. **Set the Query Key**: To pass parameters as a single object, set the `object-type parameter key (query key)`.

- When you set this key, the configured parameters below will be passed to the board to be played as a single object.
- If you don't set this key, each parameter will be passed to the board to be played with its own key and value.

3. **Configure Parameter Key-Value**: Set the parameter keys and values necessary for execution. These parameters will be passed to the board being executed.

4. **Select the Permission-Granting Appliance**: Choose the appliance to grant the necessary permissions to execute.

- If you do not select a device, the headless link will not include permission information, so it may request a login when executing headless play.
- If the user who will execute headless play already has a logged-in account and permissions, you do not need to select a device.
- If you select a device, the access_token of that device will be included in the parameters of the headless link.

![headless-link-02]

5. **Copy the Headless Link**: To distribute the final headless link, copy the generated link and use it.

![headless-link-03]

## Example

Below is an example of creating a headless link.

```markdown
1. Base URL: https://vis.hatiolab.com/domain/system
2. Target URL: https://vis.hatiolab.com/domain/system/headless-player/1234567890abcde
3. Query Key: query
4. Parameter Key-Value:
   - param1: 123456
   - param2: ABCDE
   - param3: abc
5. Access Token: abcdefgh12345678

Generated Headless Link Example:
https://vis.hatiolab.com/domain/system/headless-player/1234567890abcde?query={"param1":123456,"param2":"ABCDE","param3":"abc"}&access_token=abcdefgh12345678
```

Now you can copy the generated headless link and use it as a URL in your browser.

[headless-link-01]: ./images/headless-link-01.png
[headless-link-02]: ./images/headless-link-02.png
[headless-link-03]: ./images/headless-link-03.png
