Creating and Defining a Connected Application