How to add customer attribute in Magento 2

A step-by-step guide to adding a customer attribute in Magento 2 (Adobe Commerce): create the attribute, set its properties and assign it to a customer group.

A step-by-step guide to adding a customer attribute in Magento 2 (Adobe Commerce): create the attribute, set its properties and assign it to a customer group.