Get bone location of a Skeletal Mesh Asset

How do I get a bone position from a Skeletal Mesh Asset? The Get Socket Location expect a Scene Component as input, and I can’t cast the Skeletal Mesh to a Component.