I'm friendly with them. I chat with them and give them my name and phone number so they can text me if there's ever a problem. If there's ever an issue with something my neighbor has done, I give them the benefit of the doubt, and I seek to understand before jumping to conclusions. I exercise patience and restraint in the hopes they'll do the same with me.
I don't allow guests to have parties or exceed the number of occupants. I use Nest cameras and NoiseAware to insure guests are not disruptive, rude, or overly noisy.
I make sure my properties and their outdoor areas look tidy and I take time to clean up garbage and debris in the yard, courtyard, or alley.
In short, I am a good neighbor and it helps my neighbors be good neighbors to me.