Set API key on boot.