Prepare to use XApp.