Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Narsing1
Mega Sage

This article helps you on how you can create a catalog item by providing all information through a copilot agent via VSCode console. Here are the steps to use Github Copilot Agent to build your application / do any activity that not only limits you to create catalog item, but also for other activities too.

 

Steps (All these needs to be done in your PC/Laptop)

  • Installl Visual Studio Code from VS Code Downloader 
  • Install Node JS from Node JS Installer 
  • Follow the instructions to install the NPM package in your machine from here 
  • Open your VS Code console and follow this instructions
  • Now open your VS Code Console and go to the terminal under "View -> Terminal"
  • Follow the instructions from here
  • You may either select the OAuth / Basic Auth.  Best way is to authenticate via OAuth instead of Basic. If you would like to use Basic, create one service account within servicenow and provide specific roles.
  • Now you are ready to use the Servicenow SDK using the VS Code Terminal.  This provides you to build apps directly using the VS Code commands.  Now, you can go to next level by utilizing Agents.  Here we have various types of Agents like Claude, but I have taken Github Copilot.
  • Under the VS Code, go to the Extensions and install the Github Copilot.  Here you will be redirected to the Github .  In case if you already have the account, use it otherwise, create one.  
  • Also Install the extension called "Servicenow Fluent Language"
  • Now, you will be able to see the Github Copilot Agent as below.

Here I have provided what I required with this agent

Narsing1_0-1777227536198.png

Now, it starts building your catalog item like this and you will be able to see the steps as well.  You may need to allow to create certain steps while performing, but for that you will be prompted. Once all the steps are completed, you will be able to see it like this

Narsing1_1-1777227856561.png

Narsing1_2-1777227956120.png

Now, go back to your instance and check your catalog item.

Narsing1_3-1777228075272.png

 

Note: This is just a concept of how you can utilize Agents and the NOW SDK to build a low code / no code apps / other activities.

 

 

 

 

Comments
Its_Azar
Mega Sage

Cool that there are few folks playing with ServiceNow SDK. @Narsing1 

Version history
Last update:
3 hours ago
Updated by:
Contributors