Getting Started with AI#
Estimated time to read: 5 minutes
This tutorial uses a Cookie Factory scenario to introduce AI. You will start a conversation in AI, ask a question about a Material, summarize a Resource document, and compare two versions of a Product.
Before You Start#
Complete the AI prerequisites for your environment.
Scenario#
Cookie Factory Scenario
The Cookie Factory scenario is an example only. Use supported entities, documents, and attachments available in your environment. Adapt the object names and prompts to your own scenario.
Prepare the Scenario#
You are reviewing the following Cookie Factory data before production starts:
| Item | Example configuration | Reference |
|---|---|---|
| Material | Create Cookie01 at the Mixing Step and set it to Queued. | Create Material |
| Resource | Create Chocolate_Oven-01. | Create Resource |
| Document | Create an effective internal Document named Oven Cleaning Procedure and upload Oven Cleaning Procedure.pdf. Associate it with Chocolate_Oven-01 through the ResourceDocumentContext Smart Table. | Create Document and ResourceDocumentContext |
| Product | Create Belgas Product versions A.1 and A.2, and change at least one property value in A.2. | Create Product |
| AI Agent | Configure an available AI Agent for the Cookie Factory environment. | AI Agent |
Table: Cookie Factory scenario setup
Prepare the Resource Document#
- Create a PDF file named
Oven Cleaning Procedure.pdf. Include a purpose, preparation actions, safety precautions, and cleaning steps forChocolate_Oven-01. - Create an internal Document in MES. Select Browse to upload the PDF file, and set its version to Effective. For the complete procedure, see Create Document.
- Add a
ResourceDocumentContextSmart Table record that associates the Document withChocolate_Oven-01. For more information, see ResourceDocumentContext. - Open
Chocolate_Oven-01and select View to confirm that the Document is available. For more information, see View Resource Documents.
Action Availability
Available actions depend on the entity and the selected content. If an action is unavailable, use an entity, document, or attachment that supports it.
Exercise 1: Start a Conversation in AI#
Use AI to ask a broad production question without first opening a specific entity page.
- From the main navigation menu, select AI.
- Select an available AI Agent.
- Enter the following prompt:
What should the Cookie Factory supervisor review before the next production run? - Review the response and ask a follow-up question if needed.
AI provides a direct conversation workspace. Use Ask AI from an entity page when the question should include the context of that entity.
Exercise 2: Ask About a Material#
Use Ask AI to review the context available for Cookie01.
- Open the
Cookie01Material page. - Select Ask AI from the MES AI group in the entity toolbar.
- Enter the following question:
Summarize the current status and configuration of this Material. - Review the response in the AI panel.
The response uses the context available for the current Material. You can ask additional questions to focus on a specific part of that context.
Exercise 3: Summarize a Resource Document#
Use View Summary to review the Oven Cleaning Procedure.pdf document before using Chocolate_Oven-01.
- Open the
Chocolate_Oven-01Resource page. - Select View.
- Select
Oven Cleaning Procedure.pdf. - Select Summarize.
- Review the generated summary.
When a single document or attachment is selected, you can also use Ask AI to ask questions about its content. When multiple documents or attachments are selected, use Ask AI to ask a question about the selected content.
Exercise 4: Compare Product Versions#
Use Compare to review the changes between the A.1 and A.2 versions of the Belgas Product.
- Open the
BelgasProduct page. - Select Compare from the entity toolbar.
- Select versions
A.1andA.2. - Open the Ask AI menu and select Compare.
- Review the comparison in the AI panel.
The comparison helps you identify the relevant differences without manually reviewing every versioned property.
Next Steps#
- Using AI explains the available access points and actions.
- Supported Sources explains the content that AI can use as input.
- Prompt Configuration explains how prompts are configured.
- Generate a Shift Handover Summary provides a task-specific scenario for the Shift Logbook.
- Generate UI Pages with AI provides a task-specific scenario for UI Pages.
- Generate dashboards with AI provides a task-specific scenario for Analytics Views.



