Eevee Render

I am trying to render one render layer with a transparent background ,and one with a HDRI for a background so I can composite the transparent layer over the HDRI layer. I am using eevee to render if anybody can help I Whould apresheat it. Thankyou!

What have you tried and what isn’t working?

Is your goal to have lighting of the scene defined by one lighting setup and the background be the HDRI but without that HDRI influencing your preferred lighting setup?

I need to get the lighting on the seen in the first render layer, but a transparent background. But I want to have the HDRI visable behind render layer 2, so I can composite render layer 1 over render layer 2, without having to render the HDRI seperat.