Step-by-step: Generate Google OAuth Client ID and Client Secret to generate an access token | Scribe

    Step-by-step: Generate Google OAuth Client ID and Client Secret to generate an access token

    • Giang Nguyen |
    • 0 step |
    • 2 minutes

    Enable the Google Analytics Data API

    Navigate to [https://console.cloud.google.com](https://console.cloud.google.com)
    Click "APIs & Services"
    Click "ENABLE APIS AND SERVICES"
    Search for "Google Analytics Data API"
    Enable the Google Analytics Data API

    Configure a consent screen

    Navigate to "Credentials"
    Click "CREATE CREDENTIALS"
    Select "OAuth client ID"
    Click "CONFIGURE CONSENT SCREEN"
    Select "External"
    Name the app Y42 and put your OWN email address as "User support email" .
    Add your OWN email address as "Developer contact information"
    Click "ADD OR REMOVE SCOPES"
    Add this scope into the box for "Manually added scopes": [https://www.googleapis.com/auth/analytics.readonly](https://www.googleapis.com/auth/analytics.readonly)
    Click "ADD TO TABLE" & then "UPDATE"
    Click "SAVE AND CONTINUE"
    Click "ADD USERS"
    Add your own email address & click "ADD"

    Want to make guides like this in seconds? Yes, it's really that fast.

    This Scribe is in tip-top shape!Leave feedback if there are any issues with this Scribe