How to make a relationship work

How to save a relationship