Gmail, Google Drive, Docs, Sheets, Calendar, etc.
Google provides a standardized way to access their APIs through the Google Cloud Console. This can be done using OAuth (for per-user access) or service accounts (for per-service access). Once configured, you can use your credentials to authenticate the following nodes:
To begin, you will need:
- A Google account.
- A Google Cloud Platform project for use with iMBrace.
STEP 2: Navigate to the correct project in the top-left corner. Create a new project if necessary. This can be done by navigating to [Projects] and selecting [New Project].
STEP 3: In the left side-bar, go to [APIs & Services] > [Credentials].
STEP 4: Go to [Create Credentials] > [OAuth client ID].
STEP 5: If you are creating an OAuth ID for the first time, you will need to configure a consent screen as well. For more detailed information, see the following Google help page. Remember to Publish App to In production.
- Enter App information
- Enter Authorized domains: "imbrace.co" and Developer contact information
- PUBLISH APP to In Production
STEP 6: In iMBrace, create a new credential of type Google Docs OAuth2 API and copy the OAuth Redirect URL.
STEP 7: In Google Cloud Console, enter the information to create a new OAuth client ID and paste the redirect URL under Authorized redirect URIs.
STEP 8: You will then be presented with the client ID and client secret for the OAuth client.
STEP 9: In iMBrace, copy and paste the client ID and client secret into the corresponding fields. Then click [Sign in with Google] to complete the authentication.
STEP 10: In Google Cloud Console, in the left side-bar, go to Enabled APIs & services. Then click Enable APIs & services.
STEP 11: Search for the relevant APIs to be used (in this example, Google Docs API) and click Enable.
DONE: The credential can then be used for Google nodes.