Under a new pilot program, Amtrak riders in North Carolina will be able to connect with local public transit and Uber’s ride sharing service by utilizing an app developed by Durham-based TransLoc.

The partnership, which kicked off this week, enables “door-to-door trip planning” to and from nine Amtrak stations in the state which are located in Raleigh, Cary, Durham, Burlington, Greensboro, High Point, Salisbury, Kannapolis, and Charlotte.

Here’s how the DOT says the program will work:

“North Carolinians can simply input their preferred train station into the Rider app. The app will display a route that integrates Uber and public transit with the train schedule, providing multimodal route options from the rider’s front door to the train station platform. For example, the app might provide a synchronized route to the train that incorporates walking, taking a bus or riding in an Uber. Riders can also use the app to find transit options or an Uber at their destination. Over time, the app will learn user preferences around cost, convenience and mode of transportation to deliver a customized door-to-door plan for worry-free transit.”

It’s the first such “transit tech” agreement for a state transportation agency, according to the North Carolina Department of Transportation.

TransLoc already works with Uber and GoTriangle under an agreement announced in January. A similar agreement is in place between TransLoc, Uber and bus services in Gainesville, Fla.

“Our partnership with TransLoc is helping us create a large network of interconnected public transit options,” said Paul Worley, Rail Division Director at NCDOT, in announcing the program. “By tying together services that residents use and depend on already, it’s now easier than ever for North Carolinians to travel across the state without driving their cars while taking advantage of existing rail infrastructure.”

The TransLoc app is available for download for Apple and Android devices.

“TransLoc’s partnership with NCDOT builds upon some of our deep existing relationships with North Carolina transit agencies and ties that work into an important statewide effort,” said Doug Kaufman, TransLoc’s CEO. “This is an innovative step for a transit agency as large as the NCDOT and reinforces its leadership in working to solve the chronic first-mile, last-mile problem that has historically restricted public transit ridership. We look forward to working with NCDOT to meet the needs of residents and create thriving transportation ecosystems in communities across the state.”