That is the big question, isn't it.
It depends on so many things it's hard to define specific things, as each combination is distinct. It's like striking up and holding a conversation. How do you do that? That is what you are doing with the community.
Find out who they are. Find out what they want. Find out what they like Find out what they need. Try a bunch of combinations of these 4 observations that makes them happy enough with you to engage.