How do I practise Vipassana and Samatha through Anapanasati? After reading the answers to this question I understand that keeping the object of meditation  same, Samatha leads to calm and tranquility of mind and Vipassana leads to insight into nature of reality.

If I focus on the breath or if my object of meditation is bearth while meditation, what is the exact technique for both Samatha and Vipassana.

Sorry, the answers to question does not mention the technique or what exactly to do. Also google search results are showing up magazine articles.

References to suttas appreciated.

Thanks.
If you are focusing on the breath sensation then it is vipassana and if you are focusing on in and out breath as a concept then it is samatha. There are many methods like mahasi, sunlun, goenka so I suggest you try it. I don't think you can reach jhana if you are just focusing on the in and out breath because it's not easy to stop thoughts from arising. That's why samatha and vipassana should be developed together. You should be aware of what you are doing all the time. Always be aware of sensation of touch.