The Yukon did not "join Confederation" like a province. Instead, it was established as a separate federal territory on June 13, 1898, carved out of the Northwest Territories by the Yukon Territory Act.
The immediate catalyst was the Klondike Gold Rush (1896–1899), which brought tens of thousands of prospectors and created an urgent need for governance, law enforcement, and infrastructure. The territory's capital, Dawson City, boomed then declined; Whitehorse became capital in 1953.
Today, the Yukon remains a territory with a devolved government, distinct from the ten provinces that entered Confederation via constitutional agreement.