ServiceNow and APIGEE | Overview and Create API Proxy for ServiceNow API
[Music] in order to subscribe to my channel please click here or click here please share comment and like my videos and channel hey guys this is god of welcome to SAS word service now in this session we will talk about service now and Apogee and I will show you how exactly you can utilize Apogee for service now api's Apogee is an API management platform which makes your api's more secure you can add different functionalities for your API is an Apogee platform that means it sits in the middle of two applications which we want to connect to each other I will show you quickly so let's talk about direct API access first you have ServiceNow application you have your consumer application now this consumer application can connect to ServiceNow if I provide the end you point directly to consumer that means they can access and connect to ServiceNow instance with that particular endpoint now what if if I put Apogee between these two applications that means between ServiceNow and consumer application so if I put Apogee then Apogee will have access to service now end point and then consumer will have access to Apogee endpoint now will this consumer app click application be able to access service now endpoint directly so the answer is no if I put Apogee between these two applications or maybe let's say if it's sitting in front of your your destination application then consumer application will not be able to connect to your destination application in this case which is service now so consumer application will connect to Apogee endpoint he will only have access to Apogee endpoint whatever Apogee will provide the URL will be mentioned in consumer application and Apogee will route all the requests and response from the system in the back end so if consumer application is sending a request it will be sent via Apogee to ServiceNow and then service now will return the response and it will be sent to the consumer via Apogee that's how you can make your API is more secure there are a lot of other functionalities in apogee which you can utilize however in this demo I will just show you that how exactly Apogee works with ServiceNow so I will show you a demo so this is my personal developer instance and we will go to REST API Explorer because we will just pick one random API maybe just table API this is API Explorer so table API is already selected I will select here incident table I will select incident here and I will do get records limit will be one for now and I can just click on send just to do it just testing it is done now what I can do I can just copy this URL and I will go to postman so that I can test it this is the postman I will do a get first I will paste the URL I will provide the authorization that will basic authentication it has integration test demo I don't know if already there but I will use my admin account for now so it has authentication details and the URL now you will see like this is an example you can think this is an another application and I'm just sending the request when I'm sending the request I will get the response from ServiceNow so you can see I got the details of that incident here but it is accessing to the direct API of ServiceNow now how exactly I can make this API endpoint hidden so that my consumer is not aware of which API is this I can move this API to ServiceNow that means I can configure this API into a PG platform and then Apogee will provide me an endpoint which will be used with this application postmen or any other application you have how to do that for that we will go to Apogee this is my Apogee instance I will reload it I have to check if it's not logged out it's there now I will go to develop I will go to API proxy now I'm showing you how can you create it now these these demos are not are not to show you that how how exactly you can learn Apogee it just to show you that if you already have Apogee in your organization and you have to create a new proxy for it how can you create it for ServiceNow so I can click on new so I will create a new proxy for ServiceNow API and that is table API and that is also for incidents so that we can give direct access for incident not for any other table API so here I have reverse proxy so I will just click here I will give it a name so name can be may be servicenow incident we have bass part here I can put version and that's a really I would say a really great feature of Apogee as well you can put the base path now here we have target endpoint what exactly you have to give you will go to your service now or maybe you can just pick this one I will pick this one and I will give it the URL I will remove this parameter of sis perm limit we will just stick to incident for now and I will click on next pass through no authorization I don't want any authorization here and I can just click on next you can see it has created all these endpoints I can make its default as well if I want and I will click on next I will make it available for prod and test environment and I will deploy it so it is deploying the proxy which I have created one thing I want to tell you that as you know table API can be exposed to anyone but as a ServiceNow platform owner maybe I don't want to expose all my table api's in that case that's how you can utilize this service ServiceNow and Apogee Apogee configurations so that you can directly create endpoints in Apogee which are just exposed to a consumer so not just table API they will they will access this endpoint which will directly route it to the incident table API and not any other API so that they can change it because if I say in this case here I can change the table because I know the structure I know the structure I can change it however if I talk about Apogee I won't be able to change this because it's my base path so this is done everything is implemented now I will show you how exactly it so we will utilize secured one or maybe it will go here and check whether the proxy was implemented so yes and it is live as well you can see status is green I am opening it I'm opening the proxy it says Erin in deployment I will see it says in prod it is not deployed completely I will check I have under ployed it and I am deploying again it is deploying it's giving me error again ok it says deployment completed so both are complete green that means proxy has been deployed on both the environments here I will use maybe this URL secured one let's try this weather I have you ever get we are getting the same data or not I will go to post when I will go here so you will see I don't have to change anything related to the username in the password you consumer can continue to use user name and the password now even if you want to hide it you can do that with the help of API key so here you can see I have to used this endpoint but here endpoint is changed now this endpoint is only for incident management table that's it no other table he can't change this API as well if FA will change it consumer will try to change this he will get error and he will not be able to connect but in this case consumer it can change yeah you might definitely you might put that he doesn't have access but the idea would be something different he can change the table and if by mistake he has access he can access that table directly but in this case he can't change it I will put the authorization I will use basic Italy as it is and I will click on send you will find there is no difference only important part here is we are not giving the direct API access to our consumers I will click on send you will see it is sending the request to your Apogee and Apogee will route the request to you now and we have received the data we have we have got one incident record from our instance that is deaf now consumer can definitely see this now you can also hide this so you can see I have created this proxy now I will add more things you will just watch my future future videos you can do lot more in Apogee rather than directly in your ServiceNow instance for api's so I hope you like my video thanks for watching have a great day
https://www.youtube.com/watch?v=HnbqQLWK4BE