How to record other programs

I am pretty new to DAWs and such, is there a way to directly record audio from a program on my computer, specifically Arturia Analog lab? Thanks

https://manual.audacityteam.org/man/tutorial_recording_audio_playing_on_the_computer.html

Sometimes this works better than others. The only sure way to know is set it up and try it.

Koz