api open doc from EPDM environment with auto login

Good day.

Need some advice please... We are automating some tasks....
I am opening a part (using Solidworks 2013 SP4 API openDoc6) from our EPDM environment and saving it in a differenct folder but same EPDM environment.
I need to setup the script so that the EPDM system does not pop-up and request login credentials... basically I need to automated that part...

The reason for the above is because we do not want to stop the process... it should run without user intervention. Any ideas?

Thanks
Mike

SolidworksApi macros