The two steps
- Entering battle: Terapagos immediately turns into its Terastal Form, and its ability changes as part of the shift.
- Terastallizing with the Stellar Tera type: it changes forms again, into Terapagos Stellar Form.
What this means for you
You do not need a special item or a move for the first change. The ability handles it when it enters the field. The second change uses the regular Terastallization mechanic, so it needs the Stellar Tera type set.
Tera Shift is the ability that causes the first change, and Stellar is a Tera type unique to this part of the game.