By some measures, visiting China has never been easier.

China has been making a huge push to attract foreign tourists in recent months. It has rolled out a visa-free program for dozens of countries, with the list still growing. It has pledged to make it easier for visitors to pay for things, book hotels and get around.

The goal is to signal that China is open for business — and fun! — again, after three years of pandemic controls made it literally impossible for most foreigners to enter. The government is especially keen to attract visitors as it tries to rev up growth.

China also wants to show that it is still connected to the world, despite tensions with the West and the growing reach of its security apparatus at home.

In a sign of its eagerness, Beijing has offered the visa waivers to countries that have not done the same in return — a rare move for a government that usually insists on reciprocity.

But actually traveling to China can still be a major challenge. Here’s what to know:

China is unilaterally offering visa-free entry for 15 days to citizens from a slew of countries, mostly Western European ones like France, Germany and Spain. The program began in December and has continued to expand; Australia, New Zealand and Poland were included last month. It is set to run through 2025.

In addition, citizens of more than 50 countries, including the United States, are now eligible for visa-free transit. They can enter China for 72 or 144 hours, depending on their port of entry, if they are continuing on to other destinations.