The Three Gates Between a Factory and a Credit