The wrestler-turned-actor spoke at the unveiling ceremony, emphasizing the importance of working hard and being grateful for what you have.
He thanked his friends, family and fans, for whom he said he was "grateful to the core of my bones."
RELATED: Dwayne Johnson donates thousands to aid Hurricane Harvey recovery efforts
"At the end of the day, all this goes away if it weren't for you," he said, addressing his screaming fans.
He also reflected on hard times he experienced in his past, saying when he was 15 years old, he and his family members were evicted from their resident in Honolulu and forced to leave the island.
Johnson said through it all, he's kept the following quote close to his heart: "It's nice to be important but it's more important to be nice."
The actor delivered this mantra after bringing his adorable daughter Jasmine to the podium.
Johnson's star is the 2,624th since the completion of the Walk of Fame in 1961 with the first 1,558 stars.
The unveiling ceremony took place at the Hollywood & Highland complex just one week before the release of Johnson's latest film, "Jumanji: Welcome to the Jungle."
Johnson's recent films include "Baywatch," "The Fate of The Furious," "Central Intelligence" and "San Andreas."
Future films include "Jungle Cruise," based on the Disneyland ride, and a "Fast and Furious" spinoff based on his character. He also stars in the HBO comedy "Ballers."
Johnson was born May 2, 1972, in the east San Francisco Bay Area community of Hayward and raised in Hawaii and Pennsylvania.
Johnson played defensive tackle at the University of Miami. His football career ended with a stint on the practice roster of the Calgary Stampeders of the Canadian Football League in 1995.
He became a professional wrestler in 1996, following his father, Rocky Johnson, and grandfather, High Chief Peter Maivia. He would become an eight-time World Wrestling Federation/World Wrestling Entertainment champion.
Click here for more stories on Dwayne "The Rock" Johnson.
City News Service contributed to this report.