How to retrieve point cloud data

Hi,
I am new to Astra SDK.
I have no idea , how can I make my own project Which include all headerfiles of Astra SDK .
Secondly, how can I retrieve point cloud data from samples and put into a file.
Any help, really appreciatable.