I have an intel and a nvadia graphic cards. I want to use my nvadia one on minecraft. How do I switch it?

I have an intel and a nvadia graphic cards. I want to use my nvadia one on minecraft. How do I switch it?

Added (1). I have an intel and a nvadia graphic cards. I want to use my nvadia one on minecraft. How do I switch it? I have a Nvadia GeForce 840m and Intel HD Graphics 5500. I bought it straight from lenovo

Desktop. Right click. Nvidia control panel. Program settings tab. Add. Chose the minecraft app