How do I set only few apps to use NVIDIA card

This is my first post here, I want to use the NVIDIA Graphics card to run games and development apps like Android Studio and Virtual Box. I am able to get good performance when running on the NVIDIA card, but it makes my laptop too hot (it shoot up to 102 °C yesterday when running Android Studio and OBS studio ). So what I want is to start my laptop using hybrid mode and use the NVIDIA only for apps I want.
BTW, most games run on Nvidia automatically.

Have you read through this wiki post? I don't have an nvidia card, but thought this could be useful....