---
sourceDocument: Xanadu API Reference
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/api-reference

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu API Reference

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# Creating and adding a scripted extension point

# Creating and adding a scripted extension point {#ariaid-title1}

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

When developing an application, create scripted extension points and add them to the
script includes in the application code. Use a scripted extension point to designate the specific
location where data or objects can be sent to a registered custom script include and where
returned results are processed.  
Note:  
For an example of a scripted extension point, see [Using extension points to extend application functionality](https://servicenow-prod.fluidtopics.net/agUCalbZ4ypHMncaJXRaoQ "Use extension points to extend the functionality of an application without altering the original application code. You can use pre-existing extension points available in selected ServiceNow AI Platform applications, or you can add extension points when you develop custom applications in your own instance.").
* **[Create a scripted extension point](https://servicenow-prod.fluidtopics.net/5M31UMaxz8t7tPNj5OWLiA)**   
  Create a scripted extension point that can be placed in a script include in the base application code. By placing the scripted extension point, you designate the specific location in the application code where data or objects can be sent to a customization and where data is returned.
* **[Add a scripted extension point in the base application code](https://servicenow-prod.fluidtopics.net/Pgrswx_AxR1atecTIG6XOg)**   
  Add the scripted extension point into a script include in the base application code. To add the extension point, include an API call that identifies the location at which registered custom artifacts execute.

