> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.getomnify.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to create Widget for embedding services to website



# Widgets Setup Guide
## Overview
Widgets allow you to embed booking or service-related functionality directly into your website using either iframe widgets or button widgets.

# Accessing Widgets
1. Go to **Settings**
2. Open the **Widgets** section
3. Choose one of the following:
    * **Create Iframe**
    * **Create Button**

# Creating an Iframe Widget
## Basic Setup
* Enter an **Iframe Name**
* Select the **Iframe Widget Type**
* Set the **Iframe Width (%)**

## Display Options
Enable or disable the following sections based on your requirement:
* Header
* Secondary Header
* Footer
* Hero Image
* Filters

## Pre-filtered View
Use pre-filtering to display specific content inside the widget.
### Available Filter Options
* Filter by Services
* Filter by Trainer
### Service View Options
* Selected Services
* All Services
### Additional Customization
* Select specific services to display
* Configure trainer-based filtering if required

## Generate Embed Code
After configuration:
1. Click **Create**
2. Copy the generated code
3. Paste the code into your website where the widget should appear

# Creating a Button Widget
## Basic Setup
* Enter a **Button Name**
* Select the **Button Link**
* Choose the relevant service type

## Button Customization
You can customize:
* Button Text
* Button Text Color
* Button Background Color
* Button Border Color

## Generate Button Code
1. Click **Create**
2. Copy the generated button code
3. Embed it into your website

# Preview Section
* A preview panel is available while creating widgets
* Use it to verify the appearance before embedding
