You can set up a payment plan online with the IRS by visiting the website below:
https://www.irs.gov/individuals/online-payment-agreement-application
To determine if your state offers payment plan agreements, you will need to visit their website. I have added a TurboTax FAQ with the websites for each state for your use below:
https://ttlc.intuit.com/replies/3302452