When creating a DSD step 4 of the Wizard offers the facility to attach Attributes to a predefined Group of Dimensions.
You can learn more about how to do this in this article.