Connecting with third-party applications