---
sourceDocument: Xanadu Enable AI
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/intelligent-experiences

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu Enable AI

ft:clusterId :

    - platai

bundleId :

    - platai

workflow :

    - Platform


---

# Configure prompt injection attack protection

# Configure prompt injection attack protection {#ariaid-title1}

* Release version: Xanadu
* 
* Updated November 22, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Activate or deactivate prompt injection attack protection for AI-generated text and conversations.

## Before you begin

Role required: sn_generative_ai.nsa_admin

## About this task

Prompt injection attacks are a type of cybersecurity attack where someone tries to override the initial instructions of an LLM to cause unintended behaviors. Now Assist Guardian can detect and log these attack attempts, and you can choose whether you want to block the AI-generated response after the attack has been attempted.

See [Now Assist Guardian](https://servicenow-prod.fluidtopics.net/BQvph7lgaJzD2H8BJjlYtw "Enable Now Assist Guardian, built with Llama 3.1, to monitor and evaluate content created with generative AI to help protect and enhance the user experience.") for more information.

Logs can be exported for review. For instructions on how to do so, see [Export Now Assist Guardian logs](https://servicenow-prod.fluidtopics.net/J_GVe5H9eqYKUbvbiN3e5A "Export logs from Now Assist Guardian to get insights into how often different guardrails are being detected and used.").

## Procedure

1. Navigate to AllNow Assist AdminSettings.
2. In the side panel, go to Now Assist GuardianPrompt Injection.
3. Select the toggle to change the active status of prompt injection attack protection.  
   Prompt injection attack protection is enabled by default, which means Now Assist Guardian logs attempts unless you turn it off.
4. **Optional:** Under Detection impact, select the options icon (![More options icon in the Now Assist Admin console]()) and then choose Edit to change the detection impact.  
   You can choose whether prompt injection attacks are blocked as well as logged.


## Result

You have configured whether prompt injection attack protection is enabled on your instance and determined what you want Now Assist Guardian to do in case of an attempt.

*[\>]: and then


