Under the Segmentation Tab, while adding a new segment, you can assign the predefined custom attributes to your segments using the first dropdown menu where you select the property that you need.
Related Articles:
Creating Custom Attributes
How do I use the Custom Attributes the right way?
How do I use GTM custom attributes?