Normally I need to upload kaggle json file for using Kaggle dataset in google colab. And for this, we need to use this code.
!pip install kaggle from google.colab