---
title: "Configure an input column that uses guest data"
slug: "configure-an-input-column-that-uses-guest-data"
abstract: "How to configure an input column in a decision table that uses guest data (Sitecore Personalize)."
---
# Configure an input column that uses guest data

This topic describes how to configure an input column that uses guest data as input. When you configure an input column, you configure the source of the input data as well as the allowed type, such as string. Then when you start adding rules, you must only enter attributes that are specified in the source and are the allowed type.

Before you configure the input column, you must connect the decision component that contains the output you want to use, to the reliant decision table on the decision canvas. Then, when you configure the input column of the reliant decision table, you specify the data source in the **Configure** field, as described in this procedure.

> [!note]
> If you want to configure an input column to use data that is stored in an array, you must use a programmable decision to extract the data. Then you can connect the programmable decision to the decision table, or other decision.

To configure an input column that uses guest data for input:

1. [Create a decision table](https://doc.sitecore.com/personalize/en/users/sitecore-personalize/introduction-to-decisioning-in-sitecore-personalize/managing-decision-tables-in-sitecore-personalize/create-a-decision-table.html "Create a decision table").
2. On the **Decision Table** tab, in the **Input** column, click **Add Input Column**.
3. In the **Add Input Column** dialog, click one of the following input sources:
    - **Guest Data** - Select this option to use guest data as the input source in the decision column. This is more popular option.
    - **Script** - Select this option to use JavaScript as the input source in the decision column.
    - If you connected another component to the decision table on the decision canvas, the following additional options can display:
        - A programmable decision
        - A data system
        - An analytical model
        - Another decision table
4. The **Add Input Column** window refreshes with new fields and attributes, based on the input source you selected:
    - If you selected another decision component as the input source:
        - In the **Name of Column** field, enter the name of the column.
        - Click the attribute you want to use as input.
        - Click **Add**.
    - If you selected **Script** as the input source:
        - In the **Name of Column** field, enter the name of the column and click **Add**. The JavaScript editor displays for you to write JavaScript.
    - If you selected **Guest Data** as the input source:
        - In the **Choose Guest Data Key** drop-down list, select the guest attribute you want to use as the input source in the decision column. The value in the **Choose Type** field updates with the corresponding type for your selection.
        - In the **Name of Column** field, enter the name of the column that will display in the table.
        - From the **Choose Type** drop-down list, select the data type for the input. Later when you add rules, the data that you enter in this column must be the selected data type. The following are the data types:
            - **String** - a text value.
            - **Integer** - a number value.
            - **Long** - an integer that is longer than the size of the standard integer type. This is useful for large numbers.
            - **Boolean** - a binary value that can either be true or false.
            - **Double** - represents an integer with decimal values. This is useful for monetary values.
            - **Date** - represents a date value format.
        - Click **Add**.
5. To add additional input columns, click **Add Input Column**.