Where do I find the secretary of state number for the state filing for Texas franchise tax return
You will not be able to prepare that using TurboTax. Try googling it.
https://comptroller.texas.gov/taxes/franchise/forms/2024-franchise.php
You probably want to visit the Texas Comptroller's website here.