create pins resource