Hi,
If you are looking to just find matching instances and add them as references it is dead easy and well documented in the manual:
FIND ObjectB WHERE(ObjectB.AttributeA=ThisObjectA.AttributeA)
ThisObjectA.ObjectB=ObjectB
Or for multiple references->
Insert ObjectB IN This ObjectA.ObjectB
If you are looking to actually define the relationship between the two objects outside of the config tool, this is not possible.
cheers,
Pete