Add credentials method.