public client 1st setup