The country’s passenger railroad is spending $3 million in cash bonuses to encourage workers to get a coronavirus vaccine, an effort to speed protection of its workforce and passengers.

Amtrak is joining a growing list of companies offering cash or other incentives to essential workers as distribution of vaccines expands across the country and is hailed as a way to restore normalcy. The railroad’s goal is to have all of its labor force vaccinated, the company said in a statement.

“We believe the vaccine offers the best way to keep our employees safe and contribute to the wellness of local communities,” the statement said.

As of Monday, about 100 of Amtrak’s 16,500 employees had received the first dose of a coronavirus vaccine, according to the company. That number could grow quickly as jurisdictions begin to add essential transportation workers to their lists of people eligible for vaccinations.

Amtrak is giving a bonus, the equivalent of two hours of pay, to those who get vaccinated, the company said. The company is also offering paid time off for workers to get vaccinated during work hours and will excuse absences due to any side effects.

The benefit comes as the railroad is trying to restore confidence in rail travel and rebound from the worst financial crisis in its 50-year history. The company has seen plunging revenue because of declines in ticket sales during the coronavirus pandemic. Ridership plummeted by 97 percent at the onset of the pandemic and remains down 75 percent compared with a year ago.

Major grocery chains have announced similar incentives, such as flexible work schedules, paid time off to visit a vaccination site and bonuses of up to $200. Among those companies are Trader Joe’s, Aldi, Lidl and Instacart.

“Recognizing the vaccine offers the best way to protect ourselves, loved ones, co-workers, we are doing our best to ensure all employees have vaccine access while delivering a new standard of travel for our customers,” Amtrak said in a statement.