It is unlawful to use or occupy, or allow the use or occupancy, of any building, sign, manufactured home, or premises without first obtaining a certificate of occupancy for the building, sign, manufactured home, or lands. Upon completion of construction activity requiring a building or sign permit, or upon completion of placement of a manufactured home in accordance with provisions of this chapter and placement permit, the owner, tenant, or authorized agent shall obtain a certificate of occupancy from the building inspector in the manner provided in chapter 8.