Set app key in environment