Start by mixing together softened butter with chopped herbs and kosher salt.
Take the chicken, and using a tablespoon, push the skin gently. Using your fingers, gently rub the butter below the chicken skin, and smear it both over and under.
Slice off the top of the head of garlic. Put half a lemon and the whole head of garlic into the chicken cavity.
Truss the chicken, place it breast downward on the Air Fryer basket. Using a brush, brush olive oil all over.
Air fry at 370F for 30 minutes. After 30 minutes, take out the basket.
Flip the chicken over gently, with the help of a spatula or tongs. Then brush over more olive oil (or butter).
If you want to cook potatoes together with the chicken, add the sliced potatoes in the gap between the air fryer wall and the chicken. Do not over crowd. Brush with a little olive oil.
Continue to air fry for 20 minutes.
Once the 20 minute air frying cycle is complete, turn up the air fryer to 400 F and air fry for an extra 5 minutes. This extra step will make the chicken skin turn golden brown.
Air fryer whole chicken is ready to be served with roasted potatoes.