Mapping queries - for 3d experience integration to MS office.

Hi Users , 

I had a question , I wanted to know how do we link the template to the document meta data , I understood the logic of it , but I am getting confused at the linking part , can anyone help me here ?