---
sourceDocument: Australia Enable AI
sourceDocumentLink: https://www.servicenow.com/docs/r/australia/intelligent-experiences

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia Enable AI

ft:clusterId :

    - platai

bundleId :

    - platai

workflow :

    - Platform


---

# Enable AI agents to securely access parameters

# Enable AI agents to securely access parameters in AI Desktop Actions {#ariaid-title1}

Release version: Australia  
Updated May 25, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 4 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Enable AI agents to securely access parameters in AI Desktop Actions

This feature allows AI agents in ServiceNow to securely access sensitive stored values, such as credentials and input data, through Desktop Action Parameter records.
These parameters protect sensitive information and provide dynamic inputs during agent execution.
Only users with thesnaia.adminrole can create Parameter records, which store the names of values an AI agent accesses.
Each distinct value requires a separate Parameter record.
Show full answer Show less  

## Parameter Record Settings

Each Parameter record includes two key settings that determine how values are stored and accessed:

* **Shared:** When selected, the parameter is available to all users with only one Parameter Value record created by an admin. This is ideal for shared credentials like service accounts or API keys. When not selected, multiple users with appropriate roles can create their own Parameter Value records, allowing individual credentials per user. The agent retrieves the value associated with the user who triggered it.
* **Mark As Sensitive:** Encrypts all associated Parameter Value records, ensuring values like passwords or API keys are securely stored and only decrypted during execution. If not selected, values are passed as plain text.

**Important:** These settings can only be changed if no Parameter Value records exist.

## Mapping Parameters to Desktop Action Inputs

Within the AI Desktop Actions Design workspace, inputs can be configured to retrieve values from Parameter records by selecting the **Use parameter** checkbox. In AI Agent Studio, when adding a desktop action tool with parameter-configured inputs, you must map each input to a Parameter record before saving.

* The same Parameter record can be mapped to multiple inputs, but each input maps to only one Parameter record.
* Mapped parameter values override any values specified directly in agent instructions or the ServiceNow Otto panel.
* Updating a desktop action after mapping inputs requires reopening and saving the configuration to retain mappings. Renaming inputs removes existing mappings, which must be recreated.

## Example: SSH Parameters

For SSH connector background tasks, admins create separate Parameter records for usernames and passwords. Users with appropriate roles then create one Parameter Value record per user under each Parameter. AI agent instructions must explicitly state when credentials come from Parameter records, referencing exact case-sensitive Parameter record names.

## Practical Use for ServiceNow Customers

* Securely manage sensitive credentials and input data used by AI agents during desktop action execution.
* Enable both shared and user-specific credentials through flexible parameter settings.
* Ensure secure handling of sensitive data by marking parameters as sensitive to encrypt values.
* Map parameters to desktop action inputs for streamlined agent configuration and execution.
* Maintain control and security by restricting Parameter record creation to admins and enforcing role-based access to Parameter Value records.

## Next Steps

* Create Desktop Action Parameter records to define named values that AI agents will use.
* Create Parameter Value records for users to securely store the actual values accessed during execution.
* Map parameters to desktop action inputs in AI Agent Studio to enable dynamic value retrieval.  
Enable AI agents to securely access stored values, such as credentials and other input data, through Desktop Action Parameter records. Parameters protect sensitive values and provide dynamic inputs to desktop actions during
agent execution.

Only users with the sn_aia.admin role can create Parameter records. Parameter records store the names of values that an AI agent accesses during desktop action execution. A separate Parameter record is required for each distinct
value.

## Parameter record settings {#configure-parameter-record-ad__section_shared_sensitive}

Each Parameter record includes two fields that control how parameter values are stored and retrieved at execution time.  
{#configure-parameter-record-ad__table_rgx_bfn_3jc__entry__2}

| Setting | Description |
|-|-|
| Shared - selected | Makes the parameter available to all users. When selected, only one Parameter Value record can be created under the parameter, and only a user with the sn_aia.admin role can create it. During execution, the agent always uses the single Parameter Value record regardless of which user triggered the agent. For example, use this setting for a service account or shared API key that all agents use to connect to the same system. |
| Shared - not selected | Enables multiple users with the sn_aia.admin or now_assist_panel_user role to create Parameter Value records under the Parameter record to store values. Only one Parameter Value record can be created per user for each Parameter record. If multiple users must trigger the same AI agent, each user must create a Parameter Value record for their own credentials or inputs. During execution, the agent retrieves the Parameter Value record that belongs to the user who triggered the agent. For example, use this setting when each user connects with their own credentials, such as individual usernames and passwords for an internal application. |
| Mark As Sensitive | Encrypts values of all associated Parameter Value records. The agent decrypts the value at execution time. When not selected, values are passed to the agent as plain text. For example, enable this setting for passwords, API keys, or any value that should not be visible in plain text in the instance. |
[ ]

{#configure-parameter-record-ad__table_rgx_bfn_3jc}  
Important:  
The Shared and Mark As Sensitive fields can only be edited when there are no associated Parameter Value records.

## Map parameters to inputs of on-screen task desktop action {#configure-parameter-record-ad__section_ui_block_mapping}

In the Design workspace of the AI Desktop Actions application, you can select the Use parameter check box for desktop action inputs that must retrieve values from the parameter records during execution.

In AI Agent Studio, when you add a desktop action tool that contains inputs configured for parameters, the Map parameters section appears in the modal. Each input configured for a
parameter is listed by step name and description, with a Parameter record drop-down.

The following rules apply to parameter mapping:

* All inputs configured for parameters must be mapped to a Parameter record before the desktop action can be saved.
* The same Parameter record can be mapped to multiple inputs.
* Each input can only be mapped to one Parameter record.

{#configure-parameter-record-ad__ul_sgx_bfn_3jc}  
Note:  
If you specify values for inputs configured for parameters in the agent instructions or in the ServiceNow Otto panel, the mapped parameter values override them.  
Important:  
If you update a desktop action in AI Desktop Actions client application after mapping its inputs in AI Agent Studio, the agent continues to use the previous mapping until you reopen the tool configuration and save it again.

If you rename an input in the desktop action, the agent treats it as a new input and the existing mapping for that input is removed. You must remap the renamed input before the desktop action can be saved.

## SSH parameter example {#configure-parameter-record-ad__section_ssh_example}

Note:  
The following example applies to SSH connector, background task desktop actions. For on-screen task desktop actions, parameter values are supplied through the Map parameters section in AI Agent Studio and aren't referenced in agent instructions.

Only users with the sn_aia.admin role can create Parameter records for SSH desktop actions. To store both a username and a password, the AIA admin must create two separate Parameter records, one for the username (for example,
`un_username_group`) and one for the password (for example, `un_password_group`).

Users with the sn_aia.admin or now_assist_panel_user role can then create Parameter Value records under each Parameter record to store the values. Only one Parameter Value record can be created per user for each Parameter
record.  

## AI Agent instructions during execution {#configure-parameter-record-ad__example_btf_j31_j3c}

The following example shows how an AI agent instruction can reference stored parameter names:
<kbd class="ph userinput">Connect to SSH server and retrieve my session info. Here are my details:</kbd><kbd class="ph userinput"></kbd>  
* <kbd class="ph userinput">IP address: 172.27.50.123</kbd>
* <kbd class="ph userinput">Port: 22</kbd>
* <kbd class="ph userinput">Retrieve the user name stored in "un_username_group" and the password stored in "un_password_group" parameter records.</kbd>

{#configure-parameter-record-ad__ul_xsv_kkt_33c}  
Note:  
When triggering an AI agent, explicitly specify in your instructions whether the credentials are provided directly or stored in Parameter records. If Parameter records are used, clarify that the record names are for reference only and that the agent must retrieve the username and password from those records.

Verify that you use the exact names of the Parameter records. Parameter record names are case sensitive. For example,
"UserName" and "username" are treated as different values.
* **[Create a Desktop action parameter record](https://www.servicenow.com/docs/E_Qt5wI0XJ~6pM7Dzzmpqw)**   
  Create a Desktop action parameter record to store a name that an AI agent references when accessing credentials or other values during desktop action execution.
* **[Create a parameter value record](https://www.servicenow.com/docs/Y3IlJWKHmAl0i1_BD0lxPQ)**   
  Create a Desktop action parameter value record to store the value that an AI agent retrieves during desktop action execution.

**Related tasks**   

* [Create a Desktop action parameter record](https://www.servicenow.com/docs/E_Qt5wI0XJ~6pM7Dzzmpqw "Create a Desktop action parameter record to store a name that an AI agent references when accessing credentials or other values during desktop action execution.")
* [Create a parameter value record](https://www.servicenow.com/docs/Y3IlJWKHmAl0i1_BD0lxPQ "Create a Desktop action parameter value record to store the value that an AI agent retrieves during desktop action execution.")

