First, go ahead and setup a leaderboard, either in the admin console or using the admin api.
Be aware that when creating a leaderboard it's not shared across your stage and live environment.
If we want to reference the same leaderboard in the code later we can create the same leaderboard in both stage and live, but use the same key, like in the image below.