How did Dory get to California?

How did Dory get to California? Role in the film Ever since Dory was caught in the currents in the Open Ocean exhibit at the Marine Life Institute which led her to the ocean, Dory ended up in Morro Bay, California, looking for her parents.

Role in the film

Ever since Dory was caught in the currents in the Open Ocean exhibit at the Marine Life Institute which led her to the ocean, Dory ended up in Morro Bay, California, looking for her parents.