use pusher to generate key