You have some homework to do:
You will get your best information from the City Planning and Zoning. You will want to find out not only if this is permitted, under what circumstances, what ordinance applies to STR, what business license and business insurance is required, taxes to be collected and remitted.
Just as important is to read your lease, including all the fine print about subletting in any form. Your landlord may be completely against this, which is common. We have long term rentals and in the leases is clearly stated that there will be no subletting of all or part of the home, and no short term rentals of all or part.
Best of luck to you, let us know what transpires