How to connect to application