Please follow https://www.irs.gov/Businesses/Small-Businesses-&-Self-Employed/Third-Party-Authorization-Purpose.