Configure key for Google Document AI

If the learning instance uses a Google Document AI model and you did not purchase Google Document AI licenses through Automation Anywhere , follow these configuration steps.

Prerequisites

For detailed information, see BYOK | Google Doc AI Integration.

You will assign this role to a Credential Vault locker, which will allow the Learning instance creator user to securely provide the Google Document AI key to the Extraction bot, allowing the learning instance to send documents to Google Document AI for extraction.

Procedure

Create a custom role to access the Credential Vault locker that holds the Google Document AI key:

  1. Navigate to Administration > Roles > Create role.
  2. Provide a name for the role, such as doc-ai-credential-role.
    The Manage my credentials and lockers permission is automatically selected.
  3. Click Create role.

Assign the role to the Learning instance creator and Unattended Bot Runner user types.

  1. Navigate to Administration > Users and locate the users.
  2. For each user, click Edit user and add the doc-ai-credential-role.

Create a credential to store the Google Document AI key:

  1. Navigate to Manage > Credentials > Create credential.
  2. Provide a name for the credential, such as doc-ai-credential.
  3. Provide a name for the attribute, such as ServiceAccount.
  4. Select the Standard input option and enter the Google Document AI API key in the Value field.
  5. Click Create credential.

Create a locker to store the key and provide access to other users.

  1. Navigate to the Lockers tab and click Create locker.
  2. Provide a name for the locker, such as doc-ai-locker.
  3. Select the doc-ai-credential and click the right arrow to move the credential to the Selected column.
  4. In the Consumers tab and select the doc-ai-credential-role and click the right arrow to move the credential to the Selected column.
  5. Click Create locker.

Next steps

Log in as the Learning instance creator user type to do the following: