Get a sprite from a Sprite Packer atlas?

Hello, how can I get a sprite from an atlas created using Unity’s built-in Sprite Packer? I need the info in order to assign it to an Image component at runtime. Thanks!

The Sprite reference has all the information that you need: