- Extract Data from Unstructured Files Using OCI Vision
- Install and Configure the Recipe
3 Install and Configure the Recipe
On your Oracle Integration instance, install the recipe to deploy and configure the integration and associated resources.
- On the Oracle Integration Home page, in the Use a recipe/accelerator section, click View all.
- 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.
- Click Configure
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
- In the Connections section, click the connection name.
- 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
- In the Security section, enter
the following details:
Field Information to Enter Tenancy OCID Enter the tenancy OCID that you obtained.
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. - Click Save. If prompted, click Save again.
- 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.
- To return to the project workspace,
click Go back
.
Configure the Oracle FTP Vision Invoice Rename Connection
- In the Connections section, click the connection name.
- 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. - 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. - Click Save. If prompted, click Save again.
- 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.
- To return to the project workspace,
click Go back
.
Update Integration Properties
Update the integration properties with appropriate values.
- In the Integrations section, click
Actions
on the integration flow, then select Update property values.
- In the Update property values panel, update the integration properties with appropriate values.
- filePattern: This integration property holds the format of the files to be read from the FTP server. For example:
*.pdf
- 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
.
- filePattern: This integration property holds the format of the files to be read from the FTP server. For example:
- Click Submit.
A message confirms that the integration properties have been updated successfully.