Workcube - Google Integration
Creating Google API
Enter the web address https://console.developers.google.com/ as a Super Admin user.
Go to the page of creating a new project by following the numbered steps in the image.
- Project selection
- Organization selection
- New project
The sections in the image below fill in.
- 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 below.
Select API key from the Create Credentials menu.
- After the API key is created, a window with key information will open. From here, you need to restrict the Key by selecting Restrict Key.
After saying Restrict Key, it will direct you to the API settings page. You can access the options in the image from here. Make the settings as shown in the image.
- First of all, the website must be selected. Once selected, the area below opens. When you click on the "ADD ITEM" link, the domain marked with an arrow in the image will open. You can find details about this section in the description area 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 the Select APIs section and select the APIs you want to use with the API key you created.
- Then save the transactions by pressing the Save button.
- If there are no APIs you want to use in this field, you can activate the APIs you want to use by clicking on the Library link from the left menu.
- You can activate an API you want 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 this, follow the instructions below.
- First you need to choose who your project is for.
- Internal: Only available to users in your Workspace.
- External: Also available to users not in your Workspace. However, for this you need to have this application approved by Google.
- After pressing the Create button, you will be directed to the settings page.
- You need to do a three-step process.
- OAuth consent screen, Scopes, Summary...
- Actions on the OAuth Consent Screen Page:
- App Information: Application name, support email and application logo. These will also be shown to people who will use the Google service using their e-mail addresses. Required.
- App Domain: Contains information to be displayed to the user on the screen where the user will log in with his Google account. Site home page, privacy policy etc. You can enter links. Not required.
- Authorized Domains: In this field, you must write the web pages for which Google API will be used.
- Developer Contact Information: Developer e-mail address must be written. The e-mail address of the person making the transaction can be written.
- Continue by pressing the Save And Continue button.
- Operations on the Scopes page:
- Click the Add or Remove Scopes button and search for the APIs to be used from the list and select them using the checkbox next to them. (API must be enabled to select.) Then, press the UPDATE button at the bottom.
- Continue by clicking Save and Continue.
- You will move on to the Summary section. This is the summary of your transactions. You can check your settings here and edit them if you wish. If there is no problem, you can finish the process here by clicking Back to Dashboard.
To create Client ID and Client Secret:
Open the marked fields 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 it a name you want. You determine the name for the Client you create.
- Authorized JavaScript Origins: You select the site on which the JavaScript codes that will communicate with this Client will run. Type your own site address by clicking 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 clicking Add URL.
- Confirm by clicking the Create button.
- You can find your Client ID and Client Secret information in the window that opens. After closing this window, you can access this information as a list on the Credentials page. You can copy by 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 API list 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)
To use paid APIs, you must enter payment information through Google Console.
- You can enter the required information by clicking Create Account at https://console.developers.google.com/billing and enter a new payment method.
Feedback
Elinize sağlık, tam 1 buçuk yıldır Workcube sistemimizi Google ile entegre kullanıyoruz.
Şiddetle tavsiye ederim.