Use api calls for tutorial and demo