Introduction
In this guide, we will configure the Procurement Policy Advisor agent. The advisor addresses employees' procurement request questions and provides guidance to drive compliance to organizational policies, while employees are creating their requisitions.
Objectives
After this lab, you will be able to:
- Configure the profile options, roles and policies necessary for setting up a SCM Agent
- Create a SCM Agent
- Create a Guided Journey
- Enable an Agent type Guided Journey in Visual Builder Studio
Prerequisites (Not Required for Partner Workshop)
Before creating an AI Agent, ensure the following administrator values, roles, and privileges are set:
- Administrator Profile Values:
- Navigate to Settings and Actions → Setup and Maintenance → Tasks → Search → Manage Administrator Profile Values.
- Set the following profile values to Y:
ORA_HCM_VBCS_PWA_ENABLED
ORA_PER_GUIDED_JOURNEYS_SETUP_REDWOOD_ENABLED
ORA_PER_AGENT_TASK_TYPE_GUIDED_JOURNEYS_ENABLED
- Roles and Privileges:
- Navigate to the Security Console.
- Create a new role:
AI_AGENT_ADMIN_ROLE
. - Assign the following privileges to the role:
HRC_MANAGE_AI_AGENT_PRIV
HRC_ACCESS_AI_AGENT_CHAT_PRIV
Task 1: Configure a Tool
To get started:
- Navigate to My Client Groups.
- Click Show More.
- Search for "Configure HCM Agents" and open the Configure HCM Agents page.


The Procurement Policy Advisor requires a Procurement Policies Tool containing four documents. Follow these steps:
- Go to the Tools tab.
- Click Add in the top left to create a new tool.
- Enter the following:
- Name: "[Your Username]_Procurement Policies Tool"
- Description: Provide a brief description.
- Under Documents, click Add to create a new document:
- Enter the following:
- Name: "Requisition Policies"
- Description: Provide a brief description.
- Upload the four corresponding attachments for this document. The following attachments are available for download to use:
- Save the document.
- Enter the following:
- After saving all documents, click Add in the top right to add your new documents tool to the system.
- You will return to the Tools page. Re-open the tool you created.
- Notice the status of your documents is Draft. Edit each document and change the status to Ready to Publish.





Task 2: Submit an ESS Job
To ingest the attachments, submit an ESS job:
- Click the hamburger menu in the top left and select Show More.
- Expand Tools menu group and click Scheduled Processes.
- Click Schedule New Process.
- In the Name field, enter "Process Agent Documents".
- Click OK and then Submit.
- Ensure that the ESS job has a status of "Succeeded".
- Return to the Configure HCM Agents page and re-open your tool.
- Confirm that the status of your documents has changed to Published.





Task 3: Create an Agent
Now, create an agent and bind it to the tool:
- Navigate to the Agents tab on the Configure HCM Agents page.
- Click Add in the top left to create a new agent.
- Enter the following:
- Agent Name: "[Your Username]_Procurement Policy Advisor"
- Code: "[Your Username]_PPA"
- Description: Provide any description.
- Category: Select "Other".
- Under Tools, click Add and select the "Procurement Policies Tool" you created.
- Click Save to bind the tool to the agent.
- Click Add in the top right to add your agent to the system.



Task 4: Create a Guided Journey Agent Task
Enable the agent on the Responsive Self Service Procurement homepage using Guided Journeys:
- Return to the homepage.
- Navigate to My Client Groups and click Show More.
- Search for Guided Journey and open the page.
- Click Create at the top to make a new Guided Journey.
- Enter a name, "[Your Username]_Procurement Policy Advisor Guided Journey", and click Create Draft. Note the Code generated; you will need it later.
- Under Tasks, click Add.
- Enter the following:
- Task Name: "Need help with your requests?" (this will display on the Responsive Self Service Procurement page).
- Task Description: "Ask your Procurement Policy Advisor" (this will display on the Responsive Self Service Procurement page).
- Task Type: Select Agent.
- Configuration: Select the "[Your Username]_Procurement Policy Advisor" agent you created.
- Click Save.
- Click Activate in the top right to activate your Guided Journey task.
- Optionally, click Preview to see how your agent will appear and interact with it.



Task 5: Enable the Guided Journey Task
Wire the agent to the desired page:
- Navigate to the Responsive Self Service Procurement homepage: Procurement → Purchase Requisitions (New).
- Access Visual Builder Studio:
- Click your avatar icon in the top right.
- Select Edit Page in Visual Builder Studio.
- In the right-hand panel under Page Properties, locate the field named Responsive Self Service Procurement Homepage Journey Code.
- Enter the Guided Journey task code from Task 4.
- Use the Preview button to save the URL for future access to the environment.

Task 6: End User Experience
Now that the Procurement Policy Advisor agent is set up, you can experience how end users will interact with it. Follow these steps to test the agent:
- While still in the Visual Builder Studio, enter the Preview Mode.
- The Procurement Policy Advisor agent should be displayed within the top-level Guided Journey banner on the Responsive Self Service Procurement homepage.
- Click into the Question Field Bar displayed in the "Procurement Policy Advisor" banner to start interacting with the agent.
- Ask questions to explore the agent's capabilities.

User Queries
Try asking the following questions to see how the agent responds:
- "When can I refresh my laptop?"
- "Can I order a printer?"
- "Who qualifies as an independent contractor?"
The agent will provide responses based on the documents and information you configured earlier. This allows users to receive personalized assistance for the requisitions they are creating.
SCM Agents Procurement Policy Advisor Setup
G18451-01
November 2024