I've been trying to figure out how to auto install...
# suitescript
g
I've been trying to figure out how to auto install an integration record, It seems like it might be through sending a soap request? or I'm confused if you can do it by the three step tba flow or issue token endpoint? I'm starting to think I might just do it through bundling? https://suiteanswers.custhelp.com/app/answers/detail/a_id/45445 any help would be much appreciated!
b
all of those options are fine to trigger auto installation if the integration record
essentially the first time your integrations asks for permission to be used is when the integration record is auto installed
g
Thanks for the response, this is for our suiteapp I'm a little confused about the consumerkey for the tba flow as this created by the integration record but I'm trying to create the integration record?
b
you need to create your own integration record in your own account
this integration record will eventually be shared to other accounts as noted by that suiteanswers article you found
g
thanks for confirming that I am doing the right thing, I'm just stuck on Step One Obtain An Unauthorized Request Token I'm getting invalid signature
b
beyond the obvious that you are generating the signature wrong
👍 1
the general advice is to use a oauth related library to generate the signature