How to use Google Activities

In order to use Google activities in Rinkt, you need either the Outh google credentials(Client id, Client Secret) or the Service Account credentials.
The service account credentials are not working for Gmail activities when using a free gmail account(Google restriction).

To create new oauthentication credentials follow the below steps:

  1. Go to Credentials Page.
  2. Click Create credentials > OAuth client ID.
  3. Select the Desktop application type.
  4. Name your OAuth 2.0 client and click Create

If you already have a desktop oauthentication credential, Go to Credentials Page and copy the Client id and Client Secret.

For service account:

  1. Go to Dashboard Page.
  2. Click Enable Apis and Services
  3. Press enable button on Gmail API Google Calendar API or any other api you want to use image
  4. Go to Credentials Page.
  5. Click on “Manage Service Accounts”, bottom right corner.
  6. Click Create service account
  7. Enter Name, id and description
  8. Grant permissions to Project Owner
    image
  9. Click Done.
  10. Open the Action Column and click Create/Manage Key
    image
  11. For create key, select Json, and save this securely.
  12. Use the path to this file for Gmail connection context under Credential path
    image
    You may even paste the content of this file into Json Credentials

For service account credentials, Authentication Type must be set to ServiceAccount.

image