1) Benevolent motivation
The first step is to agree we want to get there, for this I would reccomend an internet signup board where we can all post our agreement. Once half of all people have signed, it will overide the democratic legitimacy of elected nation state governents and be the first world democratic directive of the new federation.
2) Selfless and humanitarian power structure
This majority then need to elect a council of selfless and benevolent leaders with a strict code of ethics and restrictions. I reccommend training these people from birth to be Dalai Llama-like, and not picking anyone who wants to do the job. NO POLITICIANS. These people will know all the star trek movies very well, and possibly will have read one of the books.
3) Science elevated to an international priority for the human race
With our new structure in place, petty worries will vanish as human effort is redirected from profit to science. People will be motivated to advance the human race by a new reward mechanism that rewards on the basis of value to humanity. In 6 months cancer will be cured, and we’ll be teleporting to the gym.
4) Sustainable everything, by law
All energy will come from dilithium crystals at this stage, creating no pollution and giving nearly unlimited power.
5) All clothing replaced by spandex one-sies
Onesies, or one peice clothing, will be made fashionable and acceptable by decree. Initial disgust at this mode of dress will be overcome with bright colors, badges and free entry to popular tourist destinations.
6) All buildings replaced with glass domes and interestingly shaped white things. World landscaped into park.
All buildings will need to be replaced with glass bubble structres, or if not, they must be white and have an interesting shape. These white / glass buildings will be surrounded by a world wide park consisting of tropical vegetation and colorful birds. In between the trees will be hot / cold pools with volunteer bars serving humorus 1980’s style fluro cocktails. All sports to be replaced by techno versions of the same thing, which primarily means putting colorful LEDS in any equipment.

7) A constitution for the human race
This constitution must be made on solely idealist lines and must not include ridiculous things like “The right to bear arms.” Instead, it will be based on compassion, exploring space, and inclusiveness of all sentient beings.
Make spaceships
Again, must be either white or glass bubble like, for the design team, I personally reccomend Apple Inc.
9) Be friendly when we meet alians
Undoubtedly, these aliens will be uglier versions of ourselves. Instead of laughing and mocking these unfortunate beings, we should be accepting, but firmly encouraging of our utopian values. This will lead to alliances.
10) Congratulations, you are living in a Star Trek like Utopia.