Josh Smith has agreed to sign with the Houston Rockets.

Smith was waived this week by the Detroit Pistons.

Smith has been promised a spot in the starting lineup and now has the opportunity to play beside former AAU teammate Dwight Howard. Smith only would consider clubs offering a starting spot, which limited his options to the Rockets and Miami Heat

Smith will likely sign a deal with the Rockets for the biannual exception of $2 million once he clears waivers at 5 p.m. ET on Wednesday. 

The Los Angeles Clippers, Memphis Grizzlies, Dallas Mavericks and Sacramento Kings also had interest in Smith.