IQ Bot 11.x: Use your own license keys for Google Vision API OCR engine

You can use your own keys for Google Vision API OCR engine subscription.

Users can use their own authentication of Google Vision API. They would need to create Google Cloud Application Default Credentials (ADC) and copy the content from ADC JSON file to the "ADCJson" field in GoogleVisionOCREngineSettings.json..
Note: Use the link to create Google Cloud Application Default Credentials for Google Vision API: https://cloud.google.com/docs/authentication/production.

Follow the steps to use your own keys for Google Vision API OCR engine.

Procedure

  1. By default, IQ Bot's encrypted Google Vision API subscription keys are used. If you prefer to use your own Google Vision API subscription keys, go to C:\Program Files (x86)\Automation Anywhere IQ Bot <version>\Configurations, and folder Configurations > GoogleVisionOCREngineSettings.json file, and specify your keys.
  2. IQ Bot provides you with an inbuilt license for Google Vision API, but you have the option to overwrite this license if you would like to use your own. Copy the content from the ADC JSON file correctly to ensure proper API calls as follows:
    
    {
      "ADCJson": {
        "type": "service_account",
        "project_id": "dark-caldron",
        "private_key_id": "9e83979f61cff072d0e0e4f91bf837e6e29bbb",
        "private_key": "-----BEGIN PRIVATE KEY-----\nMIIEvgIBADANBg......----END PRIVATE KEY-----\n",
        "client_email": "vision-test@dark-caldron.iam.gserviceaccount.com",
        "client_id": "105342202023265468399",
        "auth_uri": "https://accounts.google.com/o/oauth2/auth",
        "token_uri": "https://oauth2.googleapis.com/token",
        "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
        "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/vision-test%40dark-caldron-254807.iam.gserviceaccount.com"
      },
      "EngineType": 2,
      "EnableDebugging": false,
      "DebuggingFolder": "C:\\Users\\Public\\Documents\\Automation Anywhere IQBot Platform\\Logs\\Engine\\Google",
      "HttpTimeoutInSec": 300,
      "EnableCustomParse": false,
      "DistanceThreshold": 15
    }