Help with NearbyCore precisionfind airtag

Im looking a way to get the distance to an airtag to be able to mesure 3 of them and find an indoor position with a swift app, can some one point in the right direction?