To connect to the Google API, you will need to configure a project in the Google API Console.
- Navigate to the Google Cloud Console and select the drop down, where it says My First Project in our example.
- When the Modal opens, under your organization, create a new Project
- Name the project, Work Software Integration and make sure to select the organization associated with your company. Organization and Location should be auto-filled as long as you are logged into your account associated with your company's google organization.
- After you create your project, make sure that it is selected
- After completing Step 4, Click Enable APIs and Services
- Next, Select the Google Calendar API
- After you arrive at the Google Calendar API page, enable it.
- Select the hamburger menu, go down to APIs & Services, and than select OAuth Consent Screen in the sub-menu
- On the OAuth consent Screen, select User Type: Internal
- On the the first Tab, please enter the following fields
- For Tab Scopes & Test Users no data entrance is required, On the final Summary Tab you can select Back to Dashboard for the next steps
- Once returned to the Oauth Consent Screen dashboard, Select Publish App
- A confirmation modal will launch, please confirm
- On the APIs and Services page, on the left side bar, select Credentials
- On the Credentials page, select Create Credentials, and on the drop down, select Oauth Client ID
- On the OAuth Client ID page, select Application Type - Web Application and name the credentials “Google Calendar Credentials”
- In the Authorized Redirect URIs section, add a redirect URI of:
Your work.software domain preceded by a slash and the route settings
I.e. https://pgd-tds.thedevshoptest.app/settings or https://tds.vcr.work/settings
- It could take a few minutes for these settings to be saved, so wait a short while for the updates to propagate.
- After waiting a few moments, copy your Client ID and Client Secret from the top right section of the same page.
- Now, in Work.Software, switch to the Admin Role and go to the Settings Page
- With your copied Client ID and Client Secret, enter these in the necessary fields and save them.
- After you have saved your credentials, the Authenticate button will appear enabled. Please select this button, which will redirect you to a google Authorization page, where you must select your user that is part of the organization.
The prompt will display all of the permissions that the Work.Software Integration will utilize.
- After selecting Allow at the bottom of the permissions authorization, you will be redirected to the settings page which will confirm the success of your authentication.
- Setup is now complete!
Comments
0 comments
Please sign in to leave a comment.