In what the aviation industry hopes will be a new strategy for getting people flying again, United Airlines will become the first U.S. carrier to offer customers coronavirus tests.

Starting Oct. 15, United customers traveling between San Francisco and Hawaii will have the option of taking a coronavirus test before they board their flight. A negative result would allow them to skip the mandatory 14-day quarantine requirement for travelers headed to the state.

The pilot program will launch at the same time United begins ramping up service to Hawaii.

“Our new COVID testing program is another way we are helping customers meet their destinations’ entry requirements, safely and conveniently,” Toby Enqvist, United’s chief customer officer said in a news release Thursday announcing the program.

“We’ll look to quickly expand customer testing to other destinations and U.S. airports later this year to complement our state-of-the-art cleaning and safety measures that include a mandatory mask policy, antimicrobial and electrostatic spraying and our hospital-grade HEPA air filtration systems,” Enqvist said.

United customers will have the option of taking either a rapid test at the airport or a self-collected mail-in test before their departure, and will be responsible for paying the cost of the test. The rapid test, with results available in about 15 minutes will cost $250 and the mail-in test $80.

Until a vaccine is widely available, many in the industry think preflight testing could be key to persuading countries to reopen their borders to travel and getting the public flying again. Earlier this week, the International Air Transport Association urged governments to work with the industry to implement airport testing programs.

“The key to restoring the freedom of mobility across borders is systematic COVID-19 testing of all travelers before departure,” IATA director general Alexandre de Juniac said. “This will give governments the confidence to open their borders without complicated risk models that see constant changes in the rules imposed on travel. Testing all passengers will give people back their freedom to travel with confidence. And that will put millions of people back to work.”

While testing programs are in place at many international airports, including Germany, Hong Kong, Japan and Italy, there is still no common standard for how the programs are run.

de Juniac said the industry will face several challenges as it moves to expand testing programs, including forging agreements on standards and ensuring universal acceptance of the results. There must also be an available supply of rapid, accurate, affordable, easy-to-administer tests, he added. Lufthansa, a German carrier, which announced earlier this month it would offer coronavirus testing for its first- and business-class passengers beginning next month, cited a shortage of tests as a reason for not offering it to all passengers.

However, de Juniac cited surveys that showed people were willing to be tested and would be more willing to travel if testing was made widely available.

United has partnered with two health care providers to manage its testing program. The rapid Abbott ID NOW Covid-19 test, which provides results in about 15 minutes, will be administered by GoHealth Urgent Care and its partner, Dignity Health. Travelers will take the test before boarding their flight.

The mail-in option will be managed by Color. As part of that option, customers traveling between San Francisco and Hawaii will receive an email from United giving them the option to purchase a physician-ordered Color self-collection kit at least 10 days before their departure. Travelers will collect their own sample 72 hours before their departure and return the test via overnight mail or to a drop box at the airport. Color will process the test and return the results via text and/or email.