Once the array is finished in June, its energy will be purchased by the town on a long-term power purchase agreement. Bridgewater Resources will provide the project financing.

The company was able to win the contract over other companies that produce the same sort of top-tier product, Drei said.

“Our Central Pa.-based company beat out the local ‘best of breed’ installers to win the business outside our local footprint,” Drei said in an email. “I think it shows that in business, there are no absolutes. Regulations, politics and popular opinion can change, but ambition and good business practices can go a long way to ensuring success.”

ESI has been working for the past four months on the preconstruction, design and permitting process, according to a news release from the company. The project includes 12,001 solar panels over about 15 acres inside the small town of 5,749 in Bristol County, Mass.

It is one of the largest solar array projects in Massachusetts, Drei said.

The company has about 50 employees and locations around the Northeast, depending on local projects, he said.