# Generate Security Code

### Aim

### Benefits

### Steps

![](/files/MgoW8El1oHUiuyFtaby1)

| Step | Action                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ---- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| 1    | Navigate to the left menu, under Codes,  click **Security Codes**                                                                                                                                                                                                                                                                                                                                                                                            |
| 2    | Security Codes Library page will display                                                                                                                                                                                                                                                                                                                                                                                                                     |
| 3    | Click **Generate Codes**                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| 4    | On the Generate Security Codes page, select **Product Name**                                                                                                                                                                                                                                                                                                                                                                                                 |
| 5    | <p>In <strong>Add Details</strong>, choose the display preference for <strong>Delivery History</strong> </p><ul><li><strong>Show Delivery History</strong> - turning this on will show the full journey of a scanned item. To make the item’s journey invisible, simply toggle the switch button off.</li><li><strong>Confidential Mode</strong> - enabling this will hide the make the supply chain participants’ identity and location anonymous</li></ul> |
| 6    | Click **Next Step**                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| 7    | In **Generate Codes**, select code level: **Item, Carton, Pallet**                                                                                                                                                                                                                                                                                                                                                                                           |
| 8    | Enter **Quantity to Generate**                                                                                                                                                                                                                                                                                                                                                                                                                               |
| 9    | Click **Generate**                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| 10   | Click **Close**                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| 11   | A **Created** popup will display. Click **Close**                                                                                                                                                                                                                                                                                                                                                                                                            |
| 12   | Generated items should appear in Security Codes Library                                                                                                                                                                                                                                                                                                                                                                                                      |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.aglive.com/aglive/aglive-web-portal/security-codes/products-industry/generate-security-code.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
