It's not easy and sometimes I think I'm still not good at it. I usually advise starting with 'hi.'
Bringing something to the table to trade is establishing more of a business connection than friendship. At least at first. I've had some of my clients and vendors become friends but it's usually a secondary aspect of that setup.