Follow the Google Sheets API Setup instructions, and in the Add credentials to your project section, the blue button labeled “What credentials do I need?” I don't see this.
See
from
Tell us if it's no longer current, so we can update it yet again.