How to Use Workcube - Google Integration?


What are the things to be done to use Google applications integrated with Workcube? What steps should be followed?

Google API Creation

As a Super Admin user, enter the https://console.developers.google.com/ web address. What are the things to be done to use Google applications integrated with Workcube? What steps should be followed?

  • Proceed to the new project creation page by following the numbered steps in the image.
    • Project selection
    • Organization selection
    • New project

  • Fill in the sections in the image above. When you select the Organization section, the Location section will be filled automatically. Press the Create button.
  • After the project is created, select your project from the Select Project section in the first image.

  • Enter the API screen by following the steps in the image.

  • Select the API key from the Create Credentials menu.

  • After the API key is created, a window with key information will open. You need to limit the Key by selecting Restrict Key from here.
  • This will take you to the API settings page. From here, you can access the options in the image below. Make the settings as in the image.
  • First, you need to choose a website. Then the bottom area will open. When you click on the ADD ITEM link, the domain area marked with an arrow in the image will be opened. You can find details about this part in the description field on the right.
  • Then add the domain by pressing the DONE button.
  • There are API restrictions at the bottom of the same page. Make the settings here as in the image below.
  • Check the Restrict Key option. Then press Select APIs and select the APIs you want to use with the API key you created.
  • Then save the transactions by clicking the Save button.
  • If there are no APIs you want to use in this area, you can activate the APIs you want to use by clicking the Library link on the left menu.
  • You can activate an API by typing the API name you want to use in the search field.
  • Then you can edit the restriction for this API by going to the API key setting page.

Creating Google Client Id and Client Secret

Client ID and Client Secret are required to use some APIs. To enable it, follow the instructions below.

  • First, you need to choose who your project is for.

             Internal: Only users in your Workspace can use it.

             External: Users who are not in your Workspace can also use it. However, for this, you need to have this application approved by Google.

  • After clicking the Create button, you will be redirected to the settings page.
  • You have to do a three-step process.
  • OAuth consent screen, Scopes, Summary...
  • Actions on the OAuth Consent Screen Page:

                   App Information: Application name, support mail, and application logo. These will also be shown to people who will use the Google service using their e-mail addresses. It is necessary.

                  App Domain: It contains information that will be shown to the user on the screen where the user will log in with their Google account. You can enter links such as the site home page, privacy policy, etc. It is not necessary.

                  Authorized Domains: In this part, you should write the web pages that will use the Google API.

                  Developer Contact Information: The developer's e-mail address must be written. The e-mail address of the person making the transaction can be written.

  • Continue by clicking the Save And Continue button.
  • Operations on the Scopes page:
    • Press the Add or Remove Scopes button, search for the APIs to be used from the list and select them using the checkbox next to them. (The API must be enabled to select.) Then press the UPDATE button at the bottom.
  • Continue by clicking Save and Continue.
  • You will go to the Summary section. This is the summary of your transactions. From here, you can check and edit your settings. If there is no problem, you can finish the process by saying Back to Dashboard here.
  • To create Client ID and Client Secret:
  • Open the marked areas in the image in numerical order.
  • After this process, you will be directed to the Settings page for the Client.
  • Application Type: Web Application
  • Name: You can give any name you want. You are specifying a name for the Client you have created.
  • Authorized JavaScript Origins: You choose which site the JavaScript codes that will communicate with this Client will run on. Type your own site address by saying Add URL.
  • Authorized Redirect URLs: When the user logs in using this API and Client ID, you write the site addresses that you allow to be redirected. Again, type your own site address by saying Add URL.
  • Confirm by clicking the Create button.
  • In the window that opens, you can find your Client ID and Client Secret information. After closing this window, you can access this information as a list on the Credentials page. You can copy using the copy icon in the Key and Client ID columns. To access Client Secret, you can access the details by pressing the pencil icon in the Actions column.

APIs Used in Workcube:

The list of APIs you need to enable for Google Services integrated with Workcube is as follows:

  • Cloud Speech-to-Text API (Paid)
  • Cloud Text-to-Speech API (Paid)
  • Geocoding API (Paid)
  • Google Calendar API (Free)
  • Google Docs API (Free)
  • Google Drive API (Free)
  • Google Sheets API (Free)
  • Maps JavaScript API (Free)
  • Places API (Paid)

In order to use the paid ones from these APIs, it is necessary to enter the payment information through the Google Console.

  • You can enter a new payment method, enter the necessary information by clicking Create Account from the address: https://console.developers.google.com/billing

Feedback

Did you find this content helpful?
Related Contents