A quick and simple way is to use an application called Black Hole.
https://existential.audio/blackhole/
Step 1:
Once you have installed this, open up audio MIDI Setup
![](https://www.anintegratedworld.com/wp-content/uploads/2022/06/image.png)
Step 2:
Add a Multi-Output Device as an option and tick both MacBook speakers AND BlackHole.
![](https://www.anintegratedworld.com/wp-content/uploads/2022/06/Screen-Shot-2022-06-14-at-11.21.22-am-1024x735.png)
Step 3:
Then open up sound preference and route the sound through the multi output device.
![](https://www.anintegratedworld.com/wp-content/uploads/2022/06/Screen-Shot-2022-06-14-at-11.20.15-am.png)
Step 4:
Then select Black Hole as the audio input in OBS Studio.
![](https://www.anintegratedworld.com/wp-content/uploads/2022/06/Screen-Shot-2022-06-14-at-11.23.07-am.png)