How to find your OAuth 2.0 client credentials in Google Docs

This guide will walk you through creating a Google Auth client for Google Docs in a structured manner, and use the credentials created on Keragon dashboard

Go to console.cloud.google.com

1. Click "Create project"

Visit Google developer console, cloud resource manager, and start by creating a new project.

Click 'Create project'

2. Fill in the "Project name" field

Enter you desired project name, for example "Keragon GoogleDocs project"

Fill in the 'Project name' field

3. Click "Create"

Proceed by clicking the "Create" button.

Click 'Create'

4. Click "Select Project"

Select the newly created project.

Click 'Select Project'

5. Click here

Click here

Click here

6. Click "Enabled APIs & services"

Access the "Enabled APIs & services" section.

Click 'Enabled APIs & services'

7. Click "Search" field

Look for resources, docs, and products.

Click 'Search' field

8. Fill "Drive api"

Enter "Drive API" in the search bar.

Fill 'Drive api'

9. Click "Google Drive API"

Select the "Google Drive API" from the search results.

Click 'Google Drive API'

10. Click "Enable"

Enable the Google Drive API.

Click 'Enable'

11. Click here

Go back to the "Enabled APIs" dashboard.

Click here

12. Fill "Docs api"

Search for "Docs API".

Fill 'Docs api'

13. Click "Google Docs API"

Select the "Google Docs API".

Click 'Google Docs API'

14. Click "Enable"

Enable the Google Docs API.

Click 'Enable'

15. Click "OAuth consent screen"

Access the "OAuth consent screen" section.

Click 'OAuth consent screen'

16. Click "internal"

Select "internal" in User Type field

Click 'internal'

17. Click "Create"

Create the consent screen.

Click 'Create'

18. Click "App name"

Proceed by selecting and filling the app name field. Name your app accordingly. For example "Keragon Google Docs App".

Click 'App name'

19. Click here

Click the selected option

Click here

20. Click the appropriate email address

Select the email address.

Click the appropriate email address

21. Click "Email addresses"

Access the email addresses section and enter your desired email.

Click 'Email addresses'

22. Click "Save and continue"

Save and proceed to the next step.

Click 'Save and continue'

23. Click "Add or remove scopes"

Access the "Add or remove scopes" section.

Click 'Add or remove scopes'

24. Fill "https://www.googleapis.com/auth/documents" and "https://www.googleapis.com/auth/drive"

Select the "Manually add scopes" field and add the appropriate scopes

Fill 'https://www.googleapis.com/auth/documents'
and 'https://www.googleapis.com/auth/drive'

25. Click "Add to table"

Include the scope in the table.

Click 'Add to table'

26. Click "Update"

Update the changes made.

Click 'Update'

27. Click "Save and continue"

Save and move on to the next step.

Click 'Save and continue'

28. Click "Back to dashboard"

Return to the dashboard.

Click 'Back to dashboard'

29. Click "Credentials"

Access the "Credentials" section.

Click 'Credentials'

30. Click "Create credentials"

Create new credentials.

Click 'Create credentials'

31. Click "Requests user consent so your app can access the user's data"

Select the option for user consent.

Click 'Requests user consent so your app can access the user's data'

32. Click here

Select this option

Click here

33. Click "Web application"

Choose the "Web application" option.

Click 'Web application'

34. Click "Add URI"

Add a new URI.

Click 'Add URI'

35. Fill "https://api.us-east-1.keragon.com/rest/auth/callback"

Enter "https://api.us-east-1.keragon.com/rest/auth/callback" as the URI.

Fill 'https://api.us-east-1.keragon.com/rest/auth/callback'

36. Click "Add URI"

Add the URI to the list.

Click 'Add URI'

37. Fill "https://api.us-1.keragon.com/rest/auth/callback"

Enter "https://api.us-1.keragon.com/rest/auth/callback" as the URI.

Fill 'https://api.us-1.keragon.com/rest/auth/callback'

38. Click "Create"

Create the URI.

Click 'Create'

39. Copy your Client ID

Copy the Client ID and paste it on your Keragon dashboard Google Docs authentication.

Copy your Client ID

40. Copy your Client secret

Copy the Client Secret and paste it on your Keragon dashboard Google Docs authentication.

Copy your Client secret

You are now set up to authenticate Google Docs on Keragon dashboard and start building your HIPAA-compliant workflow.

Was this article helpful?
0 out of 0 found this helpful

Articles in this section