---
title: "User Attributes"
slug: "user-attributes"
updated: 2024-08-23T09:34:32Z
published: 2024-08-23T09:34:32Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://support.whatfix.com/llms.txt
> Use this file to discover all available pages before exploring further.

# User Attributes

Whatfix User Attributes enables you to fetch end users' information from your app and use them in Widget Visibility Rules for easy content segmentation and personalization.

User information like role, signup date, department, subscription plan, and more can be fetched and used for segmentation.

- [Step 1: Create a User Attribute](/docs/user-attributes#Step1-Create-a-User-Attribute)
- [Step 2: Assign values to the User Attribute](/docs/user-attributes#Step2-Assign-values-to-the-User-Attribute)
- [Step 3: Add the User Attribute in Visibility Rules](/docs/user-attributes#Step3-Add-the-User-Attribute-in-Visibility-Rules)

          your title goes here

          

Whatfix needs to set up an integration that requires some backend configuration. Contact [support@whatfix.com](mailto:support@whatfix.com?Subject=Create%20integration%20using%20User%20Attributes&amp;Body=Hi%20team%2C%0A%0ANeed%20help%20with%20creating%20an%20integration%20using%20User%20Attributes.%0AENT%20ID%3A%0A%0AThanks%20and%20regards%2C) to set it up.

## Step 1: Create a User Attribute

1. On the Whatfix Guidance dashboard, click **Settings**. ![ia_left_nav_settings](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/ia_left_nav_settings.png)
2. Click **App integrations**. ![ia_left%20nav_app%20integrations](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/ia_left%20nav_app%20integrations.png)

1. Under **My Integrations**, click **Attributes**.  

![ia_db_integrations_attributes.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/ia_db_integrations_attributes.png)

          
          

On this page, you can view the list of User Attributes created in your account.

1. In the **User Attributes** tab, click **+ User Attribute**. ![ia_db_add_user_attribute.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/ia_db_add_user_attribute.png)
2. Enter the **User Attribute Name** and select its **Variable Type**. ![Create_user_attribute](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/Create_user_attribute.png)
3. Click **Save**.

          **Note**

          

- **User Attribute Name**: The user attribute name cannot begin with numbers, include spaces, or contain special characters (except underscores).
- **Variable Type**:
  - String: Select this option to create a user attribute that matches the string value, such as a user name.
  - Encrypted_string: Same as **String** Variable Type, but the data is encrypted and stored in the database.
  - Double: Select this option to specify a single number. For example, employee number.
  - Boolean: Select this option to create a user attribute that has either true or false values. For example, whether or not the user had upgraded the plan or visited a specific section of the app.
  - Timestamp: Select this option to specify a single date or time, such as the user’s birth date, signup date, etc.

## Step 2: Assign values to the User Attribute

Assigning values (user information) to the User Attribute can be used to create and define Visibility Rules for segmentation.

          your title goes here

          

To assign values to a User Attribute, contact [support@whatfix.com](mailto:support@whatfix.com?subject=Assign%20values%20to%20User%20Attribute&amp;body=Hi%20team%2C%0A%0AI've%20created%20a%20User%20Attribute%20for%20my%20integration.%20Kindly%20help%20me%20assign%20values%20to%20the%20User%20Attribute.%0AENT%20ID%3A%0AIntegration%20name%3A%0ARegards%2C%0A).

## Step 3: Add the User Attribute in Visibility Rules

Once the values are mapped to the User Attribute, they can be used in the Widget Visibility Rules for content segmentation.

Use the following steps to add the User Attribute in Visibility Rules:

1. In the Widget Visibility Rules section, select **User Attribute**. ![visibility_rules_user_attribute](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/visibility_rules_user_attribute.png)
2. Select the **User Attribute** you created. ![select_user_attributes](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/select_user_attributes.png)
3. Select the operator and enter the value. ![user_attribute_values](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/user_attribute_values.png)
4. Configure additional Visibility Rules, if necessary, and finish creating the widget.
