Use JS APi in react

Hi there,

I installed ACE with atlas-connect new <project_name> and now i am wondering how to use AP.request inside of .jsx file?
And is there a way to access addonKey in jsx file?

Thank you

1 Like

In .jsx files AP.request is accesible like this window.AP,request. But did not find way to access addonKey from .jsx file.

Please have a look at - you should be able to send any request to the host product. AP.request should take care of creating and signing the JWT based on the addonKey and other parameters.