---
sourceDocument: Australia ServiceNow AI Platform Administration
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/platform-administration

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia ServiceNow AI Platform Administration

ft:clusterId :

    - platadm

bundleId :

    - platadm

workflow :

    - Platform


---

# Create OAuth API script

# Create an OAuth API script {#ariaid-title1}

Release version: Australia  
Updated March 12, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
Create and duplicate an OAuth API script for application registry.

## Before you begin

Generate an SHA-1 thumbprint. For more information, see [Generate a SHA-1 thumbprint](https://servicenow-prod.fluidtopics.net/eeTwVghiBYE4uXmAuwjQSw "Generate a SHA-1 thumbprint using the JWT provider's sys_id and JKS certificate's sys_id and certificate's alias to be added to the GraphCertificateOAuthTemplate script.").

Generate a sys_id when you configure a JWT provider. For more information, see [Configure a JWT provider](https://servicenow-prod.fluidtopics.net/WC~jpv9xTm92c42~JHc5tQ "Configure a JWT provider on the ServiceNow AI Platform to configure an OAuth application profile to authenticate using certificates.").

Role required: admin

## Procedure

1. Navigate to AllSystem DefinitionScript Includes.
2. Select and open EmailCertificateOAuthTemplate.
3. Duplicate the script by changing the name in the Name field, select Insert and Stay from the record menu.  
   Note:  
   The name must begin with OAuth to create an OAuth script.  
   The script is copied and created with a different name.
4. In the copied script, enter the JWT provider sys_id and SHA-1 thumbprint.
5. Select Update.
{#create-oauth-api-script-cred-flow__steps_rr2_hrl_lzb}

## What to do next

[Register an OAuth provider](https://servicenow-prod.fluidtopics.net/ChNrCrlo8DDzKsnbleqI_w "Use the information generated during the Microsoft Azure account configuration to register an application as an OAuth provider.").

*[\>]: and then


