1. Go to Admin Panel > Stores > Attributes > Product.

Press the Add New Attribute button.

3. Fill out the Attribute Properties section.
- Enter a Default Label of an attribute. It will be displayed on the admin panel.
- Choose a type of an attribute in the Catalog Input Type for Store Owner field. There are such available values here as: Text Field, Text Area, Date, Yes/No, Mutliple Select, Dropdown, Price, Media Image, Fixed Product Tax, Visual Swatch,Text Swatch.
- Select yes in Values Required field in order to make the attribute required for products. In this case, you won’t be able to save the product with this attribute if you don’t set its value.
go to Admin Panel > Stores > Attributes > Attribute Set, choose the attribute you need, drag and drop it from the Unassigned Attributes to Groups.
