Creating static shadow-maps at runtime. Possible?

Is there any way you can share how you set up the light blueprint and render target, assuming you still have access to it?

I’m wondering because I’m trying to attempt a similar setup for an unlit material, but the issue isn’t necessarily how the material is set up, but rather being unsure about the setup process of the directional light. I have a render target blueprint and such, but I’m unsure if it needs any specific positioning or properties done to it.