If you get the Teamcenter terminology right, it will help understand the process
You need to create a Dataset and upload a file as a named reference. Then you need to create a relation between an Item Revision and your Dataset
This is covered in the Teamcenter Connector Sample application in the microflow ExecuteAddAttachment