@Erick_Richeter,
Keep your credential variable and use them closely. Like this. Variable scope should be inside that single sequence.