Boston is preparing to house illegal migrants in former veterans housing as the city’s resources have been exhausted since Democratic Gov. Maura Healey declared a state of emergency over the surge last summer.

The Veterans Home at Chelsea will become a “safety-net site” for migrants where, beginning May 1, they will have to prove they are working to wean off government assistance by applying for work authorizations, learning English and searching for permanent residency.

“We have said for months now that our system is at capacity, and we do not have the space, providers or funding to continue expanding,”