--- title: Embed Monitor | Kener description: Embed your monitor in your website --- # Embed Monitor There are two ways to embed your monitor in your website ## Javascript You can embed your monitor in your website using javascript. We recommend using this method as it takes care of the height of the embedded monitor. ```html ``` Here is an example ```html ``` ### Parameters You can pass the following parameters to the embed code - `theme`: You can pass `light` or `dark` theme - `monitor`: The monitor url - `bgc`: Background color of the monitor. Only supports hex color codes. DO NOT include the `#` symbol. Example: `ff0000` - `locale`: The locale of the monitor. You can pass the code of the locale you have enabled in your kener settings. Example: `en`, `fr` etc Replace `[hostname]` with your kener hostname and `[tag]` with your monitor tag. ### Demo
## Iframe This is the simplest way to embed your monitor in your website. You can use the following code to embed your monitor in your website. ```html ``` Here is an example ```html ``` Replace `[hostname]` with your kener hostname and `[tag]` with your monitor tag. ### Parameters You can pass the following parameters to the embed code - `theme`: You can pass `light` or `dark` theme - `bgc`: Background color of the monitor. Only supports hex color codes. DO NOT include the `#` symbol. Example: `ff0000` - `locale`: The locale of the monitor. You can pass the code of the locale you have enabled in your kener settings. Example: `en`, `fr` etc ### Demo