What is the process for installing/replacing a backflow prevention assembly?

Proper permits must be acquired from a city's Building Department.