Deceased Taxpayers – Filing the Estate Income Tax Return, Form 1041: https://www.irs.gov/businesses/small-businesses-self-employed/deceased-taxpayers-filing-the-estate-income-tax-return-form-1041
You can apply online for an Estate EIN (see how at website above).