Integrating AWS with Service now Developer instance
Tags: itsm, servicenow, selfservice, developer
Published: 2024-02-09 18:52:31

In this blog we are going to see how to integrate AWS with Service now developer instance for enabling ITSM services for AWS.

## Create a service now developer instance.
First and foremost, we need to request for a service now developer instance. To request, navigate to https://developer.servicenow.com/dev.do and click on "Sign up and start building"

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gahm44864pyuekjiwrg0.png)
Provide the Name, email address and password to signup to the developer environment.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ate2gbap2m72rzxj3vaa.png)
Once sign up is completed, you will get a confirmation email. 
You need to request an instance in any available region. Once the instance is allocated to your email address you can access the instance by logging to the developer environment anytime.
In order to login to your Service now developer environment, navigate to  https://signon.service-now.com/x_snc_sso_auth.do?pageId=username URL.
After successfully authenticating to the webpage, click on "start building" to start the developer instance.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rj1ebxfgu059wglnw3o1.png)
The developer instance will start, and you should be able to view your service now instance page.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hj6xdflz7xfz11oqs2bv.png)

## Obtaining the AWS Update Sets
Any application can be integrated with service now using either service now store(marketplace) or via update sets. Developer instance doesn't support store apps hence many vendors has released update sets for integration.
To download AWS update sets, please visit https://servicecatalogconnector.s3.amazonaws.com/AWS_SC_update_set_5.0.0xml.zip
Download the update set file to your local machine.

## Deploying update set in Service now instance
Navigate to your developer instance page, expand All in the top left corner and search for update sets. Click on retrieved update set.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ztbn3napzpnpppl60l0y.png)

In the retrieved update set page, click on "Import Update Set from XML" .

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/50m995p4xe60x1ytzsvi.png)

Click on choose file to select the downloaded zip file and click on upload to upload the xml file.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/y31q9klkysztjo81ow1a.png)
Once the update set got imported, click on the update set and click on "Preview update set".

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/05g7mtllebp6idueta6k.png)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/m0h5jw58apwfjhc5nnkr.png)

The update set will get updated and is now ready to commit. Click on Commit update set to apply the update set and create the application. This procedure should complete 100%.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oer9majm6ji26utek7ty.png)


## Configuring AWS account in Service Now

AWS provides a guided setup to configure the account in the service now instance. Inorder to configure, click on All and search for "AWS Service Management Connector". Under "AWS service management connector" click on guided setup.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/q4ogu4d2aucbvhg08jmi.png)
In the guided setup page, click on "Get started" to initiate the configuration.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ksv1vezeaiod0u85oh70.png)

You can mark the 1st task as complete as it is to configure AWS account if you don't have one already.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rvtumo2y6kp7zg0wyaw6.png)
Go back to the guided setup and follow the steps mentioned in the section "ServiceNow Administrator configuration". Once completed click the section "Mark as complete"

Once done, navigate back to the guided setup, click on "get started" under "AWS Account configuration and validation"

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/df9b71wtlt8csdblzb9p.png)

Click on configure.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ypcxtanqhkppjo69ajdi.png)
In the aws account configuration screen, click on New.
The pre-requisite to perform the integration is to create two IAM users, One user will be used to sync the settings(aws roles need to be assigned to this user based on the services you are enabling via service now) and the other one is an end user account with no special permissions.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8osya3of0mtlpm98n1uc.png)

Once done, validate the account and "Mark as complete".

The above three sections in the guided setup will enable a communication between AWS and Service now.
To configure any specific service like service catalog, security hub etc, follow the steps mentioned in the respective section under guided setup.

I wrote a blog on how can we use Service now to request AWS services and can be [found here](https://dev.to/aws-builders/self-service-option-for-end-users-to-request-aws-services-using-aws-service-catalog-5db8).

Hope this blog is informational to you, please let me know your feedback.