For me the easiest way is to use the app loopback. That app allows you to create one (or more) audiochannels. That one you can then feed into your OBS and then you just do a Screen Record (or Window, but then you don't see any VST's).
Hope that helps you out. There are some tutorials on youtube how you set up loopback.