basic connection workflow