Integrated die-casting