South Portland and Scarborough officials will celebrate Earth Day on Thursday with the formal launch of Maine’s first curbside food waste recycling pilot projects.

The event will start at 8:30 a.m. at the ecomaine regional recycling and trash-to-energy plant in Portland.

The two communities are partnering with ecomaine, University of Southern Maine and a dairy farm in Exeter that operates an anaerobic digestion system that converts methane from manure and food waste into electricity.

The food waste collection program will be tested on nearly 900 residents of South Portland and Scarborough starting in May. Thursday’s event will include educational presentations and demonstrations of various collection bins.