Initial Api connection