Set credentials