---
title: "Create an SEO widget"
slug: "create-an-seo-widget"
abstract: "How to configure SEO widgets for web crawlers using Sitecore Discover Customer Engagement Console (CEC)."
---
# Create an SEO widget

In Sitecore Discover, we strongly recommend that you add an SEO widget to a host page to expose meta information about the page's content.

You create an SEO widget in a similar way to other widgets. Based on the appearance style you choose, you must [populate the widget with attribute variables](https://doc.sitecore.com/discover/en/users/discover-user-guide/pages-and-widgets/seo-widgets-and-page-ranking/populating-widget-input-fields.html "Populating widget input fields"). When Discover publishes the host page, it replaces the variables with actual values from your catalog.

To create an SEO widget:

1. In the **Widgets** section of the CEC, on the **Widgets** tab, click **Add Widget**, and click **SEO**.
2. Enter values in the **Widget name**, **RFK ID**, and **Variation name** fields.
3. In the **Will be used in** drop-down menu, click **Common across all pages** and then click **Next**.
4. To set up default appearance styles, select an **SEO Style** by clicking **Choose** on a style card.
5. In the **Title** input field, enter `meta_title` and name variables, separated by a space, as shown in the following:

    ```text
    {{$rfk.context.category[0].meta_title, $rfk.context.category[0].name}}
    ```

6. In the **Description** input field, enter a list of category attribute variables, separated by a space, as shown in the following:

    ```csharp
    Shop {{$rfk.context.webwidths,}} {{$rfk.context.feature_name,}}
    {{$rfk.context.primary_color,}} {{$rfk.context.genders,}}
    {{$rfk.context.cattype,}} {{$rfk.context.technology_feature_name,}}
    {{$rfk.context.brands,}} {{$rfk.context.catclosure,}}
    {{$rfk.context.category_shape,}} {{$rfk.context.category_sport,}} | Store name goes here
    ```

7. In the **Keywords** input field, enter `meta_keywords` and `name` variables, separated by a space, as shown in the following:

    ```text
    {{$rfk.context.category.meta_keywords, $rfk.context.category.name}}
    ```