You are here:
< Back

Create Google application

  1. Open google developer console
  2. Set up your OAuth consent screen
    1. Add the following scopes:
      1. drive.metadata.readonly
      2. drive.readonly
  3. Under Credentials -> Create credentials
    1. Select OAuth client ID
    2. Select Web application
    3. Add and Fill Authorized JavaScript origins with https://{yourdomain}
    4. Add and Fill authorized redirect URIs with https://{yourdomain}/public-api/google/auth/exchangeCodeForToken
    5. Click on the ‘Create’ button to make it.
  4. Under Credentials -> Create credentials
    1. Select API key
    2. Choose Restrict Key – it will open your API key
    3. You need to choose the Application restrictions -> HTTP referrers (website)
    4. In the Website restriction, you need to click on the ‘Add an item’ button and add your domain name there
    5. Click on the ‘save’ button to make sure your changes are saved
  5. Also, you need to enable two API from the API Library. You can reach the API Library from the Navigation menu  -> APIs & Services -> Library.
    1. You need to search for the Google Sheet API and the Google Drive API. Both of them needed to be enabled for the Spreadsheet. When you enabled these API’s you need to wait for a few minutes to get the API’s work properly.
    2. Click on the enable button.

Set up your Google application

  1. You will need Superadmin rights in wallboard
  2. You need to go to the Superadmin -> System settings

For  Spreadsheets:

  1. Open google developer console
  2. Select the created Oauth 2.0 Clients IDs credentials, and copy the “Client ID” and “Client secret”
  1. Select the created credential and copy “Client ID” and “Client secret”
  2. Select your created API Key and copy your API Key
  3. Under Google API settings paste them
    1. Google API Oauth2 client-id – the “Client ID” what you have copied from the Oauth 2.0 Client IDs credential
    2. Google API Oauth2 client-secret – the “Client secret” what you have copied from the Oauth 2.0 Client IDs credential
    3. Google API key – the “API Key” what you have copied from the API keys
    4. After you finished with it, save and on the ‘Restart application’ button. The server will restart itself. It needed a few minutes to started.

After you have done it needed a few minutes at least 5  for your Google Credentials to work properly.