Configure Blue Prism to use Decision

To configure Blue Prism to use your Decision models, you need to:

  1. Set up a service account in Hub and generate a secret key.
  2. Set up the credentials for the Decision service account in Blue Prism.
  3. Import the Blue Prism Decision API Release VBO to communicate with Decision.

Set up a service account

  1. In Blue Prism Hub, on the Service accounts page, click Add account.
  2. Enter a unique ID and a friendly name, for example, Decision.
  3. Under Permissions, select Decision API.

  4. Click Create service account.

    The Add a service account dialog displays with a generated secret key. You will need to enter this key into the Blue Prism interactive client when configuring the associated credential.

  5. Copy the generated secret to your clipboard ready to paste into the Blue Prism interactive client.

  6. Click OK to close the dialog.

    The Service accounts page displays with the newly created account shown.

Set up credentials in Blue Prism

  1. Log into the Blue Prism interactive client, select System and then click Security > Credentials. See Security > Credentials for additional information.
  2. Click New.

    The Credential Details dialog displays.

  3. On the Application Credentials tab of the Credential Details dialog:

    1. Enter a name.
    2. Change the Type to OAuth 2.0 (Client Credentials).
    3. In Client ID, enter the ID that you used to create the service account above in Set up a service account.

      The client ID is case sensitive. You must ensure you enter the client ID in the same case as defined in the service account.

    4. In Client Secret, enter the secret key that was generated for the service account.
  4. On the Access Rights tab of the Credential Details dialog, set up the required access permissions.
  5. Click OK.

Import the Blue Prism Decision API Release VBO

  1. If you haven't already, download the Decision API.bprelease file from the Blue Prism Portal.

  2. In Blue Prism, select File and click Import > Release / Skill.

    The Import Release dialog displays.

  3. Click Browse.
  4. Locate and select the Decision API.bprelease file.

    For example:

  5. Click Next.

    The Process Logging Overview screen displays with a summary of the components that will be imported.

  6. Click Next.

    A progress screen displays.

  7. When the import has completed, click Finish.
  8. In Blue Prism, select System and then click Objects > Web API Services.
  9. Select DecisionAPI and click Edit Service.
  10. On the Web API: DecisionAPI opening screen, in Base URL, enter the URL of the Decision API service in the format:

    <Hub host URL>:<port if specified during install>/api/blueprism-decision

    For example,

    Or, if the default port was used,

  11. Select Common Authentication in the navigation tree, then complete the following:
    1. Ensure that Authentication Typeis set toOAuth 2.0 (Client Credentials)
    2. In Authorization URI, enter the Authentication Server URL in the format:

      <Authentication Server URL>:<port if specified during install>/connect/token

      For example,

      Or, if the default port was used,

      If you have upgraded from a version earlier than 4.3, your system will still be using IMS. In this case, you should enter the information in the format:

      <IMS URL>:<port if specified>/connect/token

      For example,

    3. In Credential, select the credential you created in Set up credentials in Blue Prism.
  12. Click OK to save and complete the setup of the Web API Service.