atlas.connect function

Connects to ATLAS instance