Add user contact if both user is on differnet server

hi, i want to add user as contact if both user are on different user, example if user 1 is on A Server and User 2 is on B Server then how can i add user 1 as contact from user 2, please give me some details with steps.

Thank You