Following is information on how to file an extension to the IRS:
https://ttlc.intuit.com/replies/3301811
Following is information on how to file an extension to a state:
https://ttlc.intuit.com/replies/3300227