This lab consists of tasks that need to be executed on a case-by-case basis. If you are directed to this lab at any point of time, choose the appropriate task that needs to be executed to proceed.
Objectives
In this lab, you will:
Download and install the final export of the app.
Task 1: Import the App into an APEX Workspace
Navigate to App Builder and click Import.
Drag and drop your downloaded zip file, then click Next.
Click Install Application.
Click Next.
Click Install Supporting Objects.
Task 2: Update Web Credentials in Oracle APEX and Configure Generative AI
Web credentials are used to authenticate connection to external REST services, or REST Enabled SQL services from APEX.
Creating Web Credentials securely stores and encrypts authentication credentials for use by Oracle APEX components and APIs. Credentials cannot be retrieved back in clear text. Credentials are stored at the workspace level and therefore are visible to all applications.
Enter the following details using the configuration file you copied while generating an API key in OCI Console.
Name: apex_ai_cred
Authentication Type: OCI Native Authentication
OCI User ID: Enter the OCID of the Oracle Cloud user Account. You can find the OCID in the Configuration File Preview generated during the API Key creation.
Your OCI User ID looks similar to ocid1.user.oc1..aaaaaaaa******wj3v23yla
OCI Private Key: Open the private key (.pem file) downloaded in the previous task. Copy and paste the API Key.
OCI Tenancy ID: Enter the OCID for Tenancy. Your Tenancy ID looks similar to ocid1.tenancy.oc1..aaaaaaaaf7ush****cxx3qka
OCI Public Key Fingerprint: Enter the Fingerprint ID. Your Fingerprint ID looks similar to a8:8e:c2:8b:fe:****:ff:4d:40
Click Apply Changes.
To Enable Generative AI in Oracle APEX:
Click Workspace Utilities.
Click Generative AI.
Click OCI Gen AI.
In the Compartment ID field, enter your Compartment ID and click Apply Changes. (Refer to the Documentation to fetch your Compartment ID.)
Task 3: Configure Vector Search using Search Configurations