In the File menu choose Settings
If you are using MacOS, in the Android Studio menu choose Preferences

In the File menu choose Settings
Go to Plugins/Marketplace tab, Search "Tabnine" and click Install
Click on Restart IDE for the changes to take effect