Not spray foam, spray cellulose. It's basically recycled newspaper with fire retardant and pest resistance treatment.
That's referred to as blown in.
You shove the hose down in the hole. Its flexible. And blow it in as you withdraw it. You only need one hole at the top. Like BP said. Easier to cut a strip and trim over its