use Chiara API to grab app id and tokens