A method for joining fluid containers and fluid ejectors in a fluid ejecting device are provided. The fluid container includes one or more heat stakes and a substrate includes one or more apertures for receiving the heat stakes and one or more three-dimensional features in the vicini