Create service-now developer account and REST API user
Here we are explaining how to create service-now developer account and a new user with REST-API privilege which is required to update your service now task or notes using API Call. Please refer our post ‘Updating serivice-now incident using python‘ to see the sample usage.
Create Service now Developer account :
We are using demo service now instance available on service now developer account.Here we will explain you how to create service now developer account and make ready for REST API call. Login to service now here (https://developer.servicenow.com) and register for developer account by clicking REGISTER tab available on right side
Launch Instance:
Service Now will provide a demo instance with all functionalities. This will act as service-now platform of your company and where you can create, delete and update incidents and all other service now options.
Once you logged in to developer account, click on Manage->Instance->Request Instance to launch instance
——————- advertisements ——————-
———————————————————-
Click London from next window as this is the latest version.
——————- advertisements ——————-
———————————————————-
Service now will give you new instance .Login to new instance by using the URL showing below. You could see default user name and password on same page. Copy the URL and open using your favorite web browser. Login using user name admin and password as shown in the picture below. It will prompt for a password reset.
Once you are authenticated , we have to create new user account which is having privilege to update service now incident notes using REST API. We are assigning privilege using the ‘role assignment’.
——————- advertisements ——————-
———————————————————-
Create a new user with name ‘apiuser’ and give password for the user. To create new user account, type ‘user’ on search box available on left hand side. It will list Users and Groups under ‘System Security’ category. Click users and add ‘New’
Give the user details on the new window and click submit.
——————- advertisements ——————-
———————————————————-
Next, we have to assign roles. Navigate to ‘Roles’ tab on same page which will be available after your ‘submit’. Click ‘edit’ available under the ‘Roles’ tab
Type ‘web’ on search box and select ‘web_service_admin’ and click ‘add’
——————- advertisements ——————-
———————————————————-
Now we have created user with required Roles. You can use same user name for REST API call from external scripts.
This user can be used for updating the Service-Now tickets or notes using API call. Hope this helps. Please add your suggestions and queries in the comments section.