Anybody implemented AWS textract API?

Hi All,

Anybody has used AWS textract API?

Any idea how to authenticate to AWS? I'm not sure how to generate the signature.

If you have any sample, it will be greatly appreciated.

Forge seems to have a lot of available connectors that might have what you need.

Also Amazon's developer documentation are very helpful to get started: https://docs.aws.amazon.com/textract/latest/dg/authentication-and-access-control.html

Please be more specific on what issues are you facing so the community can be of better help, even if you are looking to have a more broader, technical, discussion.


Cristiana Umbelino wrote:

Forge seems to have a lot of available connectors that might have what you need.

Also Amazon's developer documentation are very helpful to get started: https://docs.aws.amazon.com/textract/latest/dg/authentication-and-access-control.html

Please be more specific on what issues are you facing so the community can be of better help, even if you are looking to have a more broader, technical, discussion.



Thank you Christiana.. 

But there are no useful extensions in forge to connect to textract service..

Also amazon's documents are mostly for using their SDK, and there are no SDK for outsystems.

So I was trying to call using Consume REST API method. But I always get the error "IncompleteSignatureException". It could be because, my signature is not correct. But I cannot find a way to generate the signature in outsystems. 


I do have my Accesskey ID, I do have my secret AccessKey.

And the end piont i need to connect is below.

https://textract.eu-west-1.amazonaws.com

From the AWS sample, it shows, the below example, on how to create signature. But i do not know how to do it in outsystems. I could not find any function like HMAC in outsystems.


kSecret = your secret access key

kDate = HMAC("AWS4" + kSecret, Date)

kRegion = HMAC(kDate, Region)

kService = HMAC(kRegion, Service)

kSigning = HMAC(kService, "aws4_request")


So im stuck..




I recommended those connectors because there's a possibility that this authentication was already implemented in them. 

For the HMAC bit, you can use CryptoAPI and use it before you make a request.

Dear Jomon Kavungal,

Did you managed to integrate the Outsystems and AWS textract?

If you have done already, please share your learning points in that integration.

Regards

Arokianathan



Antonisamy Arokianathan wrote:

Dear Jomon Kavungal,

Did you managed to integrate the Outsystems and AWS textract?

If you have done already, please share your learning points in that integration.

Regards

Arokianathan



nope.. now trying to get a .net extension developed to call textract..