Setup apps integration

For more info, see Apps API documentation.