1. Visit Google AI Studio.

  2. Click the Get API Key button on the left menu.

  3. Click Create API Key (or use your default layout string).

  4. Copy your string token and paste it into the input box below. Click here to view a short how-to video.