Samples program for link the API from a dataset