How to initiate Servicenow to box Integration

Vinay Kumar Sam
Tera Contributor

Hello Experts,

 

We have requirement to send a document from servicenow to BOX tool. in order to perform REST integration we need endpoint of box tool.

when we check in developer.box.com portal some generic APIs are showing for Upload/Download/Create folder....etc

 

But not aware how to initiate the integration without end point of Box.

Anyone help me on this please......

Thanks in Advance

1 REPLY 1

Dan156
Giga Contributor

Hi vinay@samadhi,

We built a Box integration and I believe the endpoint is the same for everyone -> https://api.box.com/2.0/<specific endpoint>...

I will say that they do not make it easy to authenticate to their API. We ended up resorting to simply running their node.js SDK on our MID Server and relaying any/all Box API requests via "Run Script" workflow activites run on the MID Server.

This meant that we had to first convert ServiceNow attachments/files to binary strings and send that to the MID Server which then relayed it to the Box.com API (which oddly enough accepts binary strings in many cases). It worked and was reliable but it was a big endeavor for little gain. I'm sure that there may be other ways to do it but that ended up being the path of least resistance for us.

Again I would just say that authenticating to Box.com API's without using one of their SDK's is insanely difficult but with their Node.js SDK it is as simple as editing a config file a single time.

It's a unique API that's for sure.