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

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu ServiceNow AI Platform Administration

ft:clusterId :

    - platadm

bundleId :

    - platadm

workflow :

    - Platform


---

# Create OAuth API script

# Create OAuth API script {#ariaid-title1}

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

Create and duplicate OAuth API script for application registry.

## Before you begin

Generate a SHA -1 thumbprint. For more information see [Generate a SHA-1 thumbprint](https://servicenow-prod.fluidtopics.net/Ie0HIoKHOfg1RsVp91l7rQ "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.").

Ensure you have the Email - Support for Email Processing by Microsoft Graph API plugin (com.glide.email.graph) installed.

Role required: admin

## Procedure

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

## What to do next

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

*[\>]: and then


