Working for New York company remotely in Mississippi

Hello,

 

I am considering accepting a job for located in New York.  I currently live in Mississippi and would continue to do so permanently (not COVID related).

 

I'm wondering if I will have to pay both state income tax in NY and MS?  I read New York specifically has something called the Convenience rule for telework, but I'm having trouble understanding.

 

Thank you in advance