Click on the collection in your history to view it
Click on Edit galaxy-pencil next to the collection name at the top of the history panel
Click on Add Tags galaxy-tags
Add a tag starting with #
Tags starting with # will be automatically propagated to the outputs any tools using this dataset.
Click Save galaxy-save
Check that the tag appears below the collection name