Sample code for integrating with the ArcLight Connect API