{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":633,"path":"api-reference/scripts/explain-and-summarize-code-with-quick-actions.md","title":"Explain and summarize code","bundle":null,"doc_type":null,"release":"australia","body":"\n# Explain and summarize code\n\nGet a summary of the code or a comprehensive explanation of its functionality.\n\n## Before you begin\n\nRole required: now.assist.creator\n\n## Procedure\n\n1.  Navigate to any script editor enabled with ServiceNow Otto for Code.\n\n    For example, to open a script include form, navigate to **All** &gt; **System Definition** &gt; **Script Includes** and select a script include.\n\n2.  In the script editor, select a code and then select the **Otto**.\n\n    \\[Omitted image \"soc-otto-menu.png\"\\] Alt text: Select Summarize code to understand code.\n\n3.  To understand the purpose of the code, select **Summarize code**.\n\n    \\[Omitted image \"soc-summarize-code.png\"\\] Alt text: Select Summarize code to get a short explanation of the code.\n\n4.  From the **Use Otto to** list, select **Explain code in detail** to get a comprehensive explanation of the code’s functionality.\n\n    \\[Omitted image \"soc-summarize-code-detail.png\"\\] Alt text: Select Explain code in detail to get a detailed explanation of the code.\n\n\n"}}