Previous Next JavaScript must be enabled to correctly display this content

## 18.9.4.2 Configuring AI Attributes for an Application

Edit attributes on the AI page to select a Generative AI Service and define the Consent message for a application.

Tip:

Before you can configure attributes on the AI page, you must define a Generative AI Service. See Managing Generative AI Services.

To configure AI attributes for an application:

1. Define a Generative AI Service as described in Managing Generative AI Services.
2. Navigate to the AI page:
   1. On the Workspace home page, click the App Builder icon.
   2. Select an application.
   3. On the Application home page, click Edit Application Definition to the right of the application name.
   4. Click the AI tab.

   The AI page appears.

3. Configure the attributes on the AI page:
   1. Generative AI, Service - Select the default AI Service for this application.
   2. Generative AI, Consent Message - Enter a consent message for the use of the selected AI Service.

      The Consent Message you define displays to the user the first time they access the AI Service. The user must agree with the message before they interact with the AI. The user's choice (Accept or Deny) is stored as a preference so they are only prompted once.

      Note:

      You can also use the `APEX_AI` package to programmatically set or clear user consent. See APEX_AI in Oracle APEX API Reference.

      Use the `APEX_AI` package to programmatically set or clear user consent.

4. Click Apply Changes to save your changes.

Parent topic: Including Generative AI in Applications