paas demo code