First you have to create the attributes. Under the file menu, go to Properties. Select the Attributes tab. This is where you can create attributes.
Once the attributes are created you can populate text using the attributes. This is done in the annotation editor.
You didn't mention if you are using Teamcenter or native UG. If you are using Teamcenter, the Teamcenter attributes can be synced with UG.
You also might want to use a seed file, that already has the attributes mapped, to create additional files.