As far as I know, you must enter your credentials in the app, which is why I never used that functionality in CamScanner. However, with the Google Docs app installed, I can share to Google Docs without entering any credentials in the CamScanner app itself.