Skip to main content

Delegated resource only

This section will introduce the procedure of integration (Delegated resource only) with Google. This integration is suggested for companies who have a higher security concern.

User action before using ONES

User have to login to ONES at least once for booking resources.

Server settings

Getting start

  1. Enter the name of integration for identification of this integration in ONES.

Create Project

  1. For retrieving the customer ID, client ID and client secret, you need to create a project for integration. Navigate to your Google Cloud Platform.
  2. Click Select a project and click NEW PROJECT:
  3. Enter a name, organization and location for the project. (These information are just for naming, which will not be used in the integration with ONES.)
  4. Click CREATE to create the project.

Enable API

  1. Navigate to the APIs & Services and select the project.
  2. Click ENABLE APIS AND SERVICES and search Google Calendar API.
  3. Select Google Calendar API and click ENABLE.
  1. Navigate to OAuth consent screen.
  2. Select External and click CREATE.
  3. Input App name, User support email and Email addresses of Developer contact information. (These information are just for naming, which will not be used in the integration with ONES.)
  4. Click SAVE AVD CONTINUE.
  5. Click ADD OR REMOVE SCOPES.
  6. Select userinfo.email, userinfo.profile and openid.
  7. Search Google Calendar API and select calendar.
  8. Click UPDATE
  9. Click SAVE AVD CONTINUE.
  10. Click SAVE AVD CONTINUE.
  11. Click BACK TO DASHBOARD to finish the procedure.

Create OAuth 2.0 Client IDs

  1. Navigate to Credentials of APIs & Services.
  2. Click CREATE CREDENTIALS and select OAuth client ID.
  3. Click Application type and select Web application, and type Name.
  4. Click CREATE to finish the procedure.
  5. Copy the Client ID and Client secret.
  6. Go back to Offision and paste the values to the corresponding fields.

Set Customer ID

  1. Navigate to Google Admin console.
  2. Click Account and navigate to Account settings.
  3. Copy the Customer ID.
  4. Go back to Offision and paste the Customer ID to the Customer ID column.

Save and next

  1. Click Save and next to continue once the information is confirmed to be correct.

Room settings

Redirect URI

  1. Redirect URI is for adding single-sign-on callback-link to Google(Please also add this to the Google Cloud Platform):
  2. Copy the Redirect URI on the right side of Offision.
  3. Navigate to Google Cloud Platform.
  4. Navigate to Credentials of APIs & Services.
  5. Edit the OAuth 2.0 Client ID.
  6. Click ADD URI of Authorized redirect URIs and paste the Redirect URI to the column.
  7. Click SAVE.

Add resources calendar to admin account and change the resources settings

  1. Navigate to Google Calendar and login as admin.
  2. Click Settings menu and go to Settings.
  3. Click Add calendar and go to Browse resources.
  4. Select the resources that you want to subscribe.
  5. Navigate to the resources.
  6. Change the Time zone.
  7. Go to Auto-accept invitations and select Automatically add all invitations to this calendar.

Add delegated account

  1. Click Add delegated account.
  2. Select the account that you have subscribed the resources calendar.
  3. Click Allow.
  4. Input the resource email and click Add room.

Save and next

  1. Click Save and next to continue once the information is confirmed to be correct.

User settings

Create OAuth 2.0 Client IDs

  1. Navigate to Credentials of APIs & Services.
  2. Click CREATE CREDENTIALS and select OAuth client ID.
  3. Click Application type and select Web application, and type Name.
  4. Click CREATE to finish the procedure.
  5. Copy the Client ID and Client secret.
  6. Go back to Offision and paste the values to the corresponding fields.

Redirect URI

  1. Redirect URI is for adding single-sign-on callback-link to Google(Please also add this to the Google Cloud Platform):
  2. Copy the Redirect URI on the right side of Offision.
  3. Navigate to Google Cloud Platform.
  4. Navigate to Credentials of APIs & Services.
  5. Edit the OAuth 2.0 Client ID.
  6. Click ADD URI of Authorized redirect URIs and paste the Redirect URI to the column.
  7. Click SAVE.

Others

  1. You can set the Login button name in the login page.
  2. Click Save and close.