Creates application sample with connect
Adds error handling code sample
Connect examples