Google Workspace - User

Steps to set up multiple Google APIs at the same time with Xkit

🚧

Initial Google API Set up

This guide walks you through how to set up multiple Google APIs when initially registering your app with Google. There is no "Google Workspace API" in the Google Developers Console.

If you have connected to another Google API already, please reference the guide for the individual API you are looking to add.

Google Workspace APIs: https://developers.google.com/gsuite/aspects/apis
Authorization protocol: OAuth 2.0

1. Add the Google Workspace connector in the Xkit platform.

  • In the Xkit platform, click "New Connector" in the sidebar or at the bottom of the "Connectors" screen.
  • Click "Google Workspace". At this point you'll see a callback url, which you'll provide to Google in one of the following steps, and places to input the Client ID and Client Secret that you'll get from Google after registering your app with them.

2. Register your application with Google.

  • Next, in a separate window, sign in to your Google account.
  • Visit the Google API Console.
  • Click "Create Project", enter the name of your application and click "CREATE".

3. Enable all of the Google APIs necessary for your App.

  • From the Google API console, click "Enable APIs and Services".
  • Search for the APIs you require in the Library and click "Enable".

4. Set the permissions/scopes.

  • From the Google API Console dashboard, click "OAuth consent screen" in the sidebar and submit the requested general information about your application.
  • Under the "Scopes" section, click "Add or Remove Scopes" and select the permissions/scopes your application requires (additional details about available scopes here).
  • Click "Update".
  • Complete the remaining general information and click "Prepare For Verification".

5. Provide Google with the Xkit callback url.

  • Click "Credentials" in the sidebar.
  • Click "Create Credentials" and then "OAuth client ID" in the dropdown.
  • Input the requested information about your app, including copying/pasting the callback URL from the Xkit platform into the "Authorized redirect URIs" field on the Google page.
  • Click "CREATE".

6. Provide Xkit with the credentials and update Catalog Settings.

  • After completing the last step, you should see the credentials you just created under "OAuth 2.0 Client IDs".
  • Copy/paste your Client ID and Client secret onto the Xkit page and click "Save".
  • Customize the Catalog Settings page and click "Save".

7. Submit your application information for verification.

  • Return to your App in the Google Developers Console and click "OAuth consent screen".
  • Select "Prepare for Verification" and review the previously submitted information.
  • Click "Submit for Verification".

8. Complete the Xkit connection setup.

  • Select the same permissions/scopes you selected in the Google Developers Console and click "Save".

You've now successfully connected multiple APIs in the Google Workspace with Xkit!