Assume the alien intelligence has the capabilities of today's humanity in detection technology.
This means that they hardly can detect us. For comparison, we just started to find exoplanets roughly 30 years ago. And most of we found were gas giants. Very few exoplanets Earth-sized or smaller are known. And almost all of the know exoplanets were detected by indirect methods like transit, radial velocity, astrometry, transit time variation or microlensing.
Very few of them were photographed, and all those that were are gas giants presented no more than a small pixelated blob in an image already severely distorted due to the necessity of filtering out the obfuscating star luminosity.
Even looking at Proxima Centauri, which is the neighbor next door, the first indications of a exoplanet there came only in 2013 with the confirmation only in 2016. The second and third planets were detected only in 2019 and confirmed only in 2020 and 2022.
So, an alien intelligence would probably don't see us at all with our current level of technology. However, after gaining insight from their first observations, what they would be looking for is exactly what we are looking for, a planet that seems to be capable of life.
And the best way to look for planets that have life is to search for planets that are rocky, have the correct temperature range (i.e. Goldilocks planet, not too hot nor too cold) and hint away the presence of water. We know that planets like this can harbor life because Earth is one of those. Gas giants in a Goldilocks position are also candidates for having moons with some life. Surely there could be life out there outside the Goldilocks zone, and even Mars, Europa, Titan and Enceladus here around the sun are considered as possibly harboring microscopic primitive life. But what we knows for sure that works are the Earth-twins.
How close they would have to come? With the current technology, except if they are extremely luck to spot a Earth-transit, too close to be viable or realistic, but the technology is increasing very fast.
In fact, they are likely to detect Jupiter and Saturn first. Then, only after much more detailed studies with a lot of observations and luck, they could see Earth. But they would also likely be investigating millions of stars at once and having limited resources for studying them. So, detecting Jupiter and Saturn might be like "meh" for a few decades until the "meh" turns to be a "wow".