IOTL, the Alaskan Gold Rush began in the 1890s, bringing tens of thousands of prospectors to the region and creating the framework for a viable economy that would eventually bring in long-term settlers.
The Russians sold Alaska to the United States largely because it had never been profitable and was seen as militarily indefensible anyway.
What if gold were discovered in Alaska before 1867, when the area was still under Russian control?