Connect a record based on a key + Create if not found