How to load assets from pak files

I recently completed the Chunk Downloader tutorial
( ChunkDownloader Explained | Inside Unreal - YouTube )

I am having multiple pak files and each of them has a static mesh.
I am not able to understand how I can reference a static mesh from a particular pak file at runtime to assign it to my object.
In the video, they have done this via Soft reference. But in my case unfortunately this cannot be done, because the content is dynamic in nature.