Connect main repository