# Use attributes

> On the Settings page of your Application, you can make one or more Application custom attributes available in all the campaigns of an Application, and also make one or more campaign and coupon custom attributes mandatory.

> For the complete documentation index, see [llms.txt](https://docs.talon.one/llms.txt).

## Add custom attributes to an Application

Adding a custom attribute to an Application makes it available in all the campaigns of the Application.

For example, you can do this to make available across all campaigns a list of store IDs
representing your business venues. You can then use it in your [rules](/docs/product/rules/overview.md).

Before you start, create one or more [custom attributes](/docs/product/account/dev-tools/manage-attributes.md)
with `Application` as their associated entity, and make the attributes available in your Application.

You can then add attributes to your Application:

1. On the left-side menu of your Application, click <Settings className="icon"/> **Settings** > **Custom Attributes**.
1. Click **Add Custom Attribute** to expand the dropdown with the available attributes.
1. Select one or more attributes from the dropdown.
1. Set values for the attributes that you selected by typing the values down.
1. Click **Save Changes**.

## Make attributes mandatory

You can make one or more campaign and coupon custom attributes mandatory for a given Application.

- **Mandatory campaign attributes**: You must [define values](/docs/product/campaigns/settings/manage-campaign-custom-attributes.md#define-values-for-mandatory-attributes)
  for them for every campaign that you want to activate. It is necessary for the campaign
  to run and its rules to be evaluated.
- **Mandatory coupon attributes**: You must define values for them every time you want to
  [create coupons](/docs/product/campaigns/coupons/create-coupons.md) in any campaign of the
  Application.

For example, you can use mandatory campaign attributes to prevent certain users from
participating in a campaign. Mandatory coupon attributes are useful, for example, to build
advance logic related to your coupons, or to define the value of the discount provided by
a coupon when a support agent creates it manually.

:::note
Campaigns that are already running will not be automatically disabled if you add any
mandatory campaign attributes.
:::

Before you start, [create one or more custom attributes](/docs/product/account/dev-tools/manage-attributes.md#create-a-custom-attribute)
with `Campaign` or `Coupon` as their associated entities, and make the attributes available in
your Application.

You can then make attributes mandatory:

1. On the left-side menu of your Application, click <Settings className="icon"/> **Settings** > **Mandatory Attributes**.
1. In **Set Mandatory Campaign Attributes**, select the attributes you want to make mandatory.
1. In **Set Mandatory Coupon Attributes**, select the attributes you want to make mandatory.

## Related pages

- [Create a custom attribute](/docs/product/account/dev-tools/manage-attributes.md#create-a-custom-attribute)
- [Manage campaign custom attributes](/docs/product/campaigns/settings/manage-campaign-custom-attributes.md)
