How to run jovian.commit() on Kaggle's notebook after hitting "save and run all"?

Is there a way to pass my API key in plain text to jovian.commit()?

I have an issue that when I want to save my notebook on Kaggle, using “Save and Run All” option, I can not enter my API key when it is prompted. So I think there is a way to pass my API key throw an input to jovian.commit().