How do I document Federal and State (California) estimated taxes paid on TurboTax 2017?

I am self employed (1099-Misc) and have been making estimated tax payments to the IRS and State of California.  Where do I enter those payments in my TurboTax 2017 software so that I am not charged twice.  Also, I paid the State of California FTB (Franchise Tax Board)  the annual $800 tax and wish to write that off on my taxes.  How do I do that?