3 Install and Configure the Recipe

On your Oracle Integration instance, install the recipe to deploy and configure the integration and associated resources.

  1. On the Oracle Integration Home page, in the Use a recipe/accelerator section, click View all.
  2. Find the recipe you want to install, then click Get.
    A message confirms that the recipe was successfully installed, and the recipe card shows In use.
  3. Click Configure Configure icon on the recipe to configure its resources.

    The project workspace opens, displaying all the resources of the recipe. Configure the following resources before you activate and run the recipe.

Configure the Oracle REST Vision API Connection

  1. In the Connections section, click the connection name.
  2. In the Properties section, enter the following details:
    Field Information to Enter
    Connection Type Select REST API Base URL.
    Connection URL

    Enter the endpoint URL of your OCI Vision instance.

    For example: https://vision.aiservice.<tenancy location>.oci.oraclecloud.com/20220125

  3. In the Security section, enter the following details:
    Field Information to Enter
    Tenancy OCID

    Enter the tenancy OCID that you obtained.

    See Before You Install the Recipe.

    User OCID Enter the user OCID that you obtained.
    Private Key

    Click Upload and select the API key generated earlier.

    Note:

    Before you upload the private key, you must convert it into the PKCS1 format.
    Finger Print Enter the finger print that was generated for the key.
  4. Click Save. If prompted, click Save again.
  5. Click Test to ensure that your connection is successfully configured. In the resulting dialog, click Test again.
    A message confirms if your test is successful.
  6. To return to the project workspace, click Go back Back icon.

Configure the Oracle FTP Vision Invoice Rename Connection

  1. In the Connections section, click the connection name.
  2. In the Properties section, enter the following details:
    Field Information to Enter
    FTP Server Host Address Enter the host address of your sFTP server.
    FTP Server Port Enter 22.
    SFTP Connection Select Yes from the list.
  3. In the Security section, enter the following details:
    Field Information to Enter
    Security Policy Select FTP Server Access Policy.
    User Name Enter the user name to connect to your sFTP server.
    Password Enter the password to connect to your sFTP server.
  4. Click Save. If prompted, click Save again.
  5. Click Test to ensure that your connection is successfully configured. In the resulting dialog, click Test again.
    A message confirms if your test is successful.
  6. To return to the project workspace, click Go back Back icon.

Update Integration Properties

Update the integration properties with appropriate values.

  1. In the Integrations section, click Actions Actions icon on the integration flow, then select Update property values.
  2. In the Update property values panel, update the integration properties with appropriate values.
    1. filePattern: This integration property holds the format of the files to be read from the FTP server. For example: *.pdf
    2. directory: This integration property holds the path of the directory on the FTP server from where the files must be read. For example: /user2/InvoiceDemo.
  3. Click Submit.

    A message confirms that the integration properties have been updated successfully.