Just reposting this to know if anybody has any ins...
# integrations
j
Just reposting this to know if anybody has any insight or helpful tips. Note: I'm not looking for an integration team to build this for me, but just someone who has previous experience to point me in the direction needed. *"*Goodmorning all! Question here, the business I work for is a distribution company and they use SmartEquip to compare pricings to their products. SmartEquip has the ability to create an API connection to NetSuite, but so far we have been unsuccessful. Does anyone here currently use SmartEquip with NetSuite? And if so, would you be willing to share the process that was required to get the connection established?"
e
I have not used SmartEquip but the integration paths to Netsuite are pretty cut and dry. Inbound integration connections are either going to be SOAP, REST, or RESTlets (script). Outbound connections are usually via Suitelets (script). You statement that "SmartEquip has the ability to create an API connection to Netsuite" suggests that it will be able to use any of the 3 above mentioned inbound integration methods since SmartEquip will initiate the connection via SOAP, REST or RESTlet authenticating using either OAuth 1.0 or OAuth 2.0. What have you tried that has not been successful?
j
@Eric B we've been using OAuth 2.0 and I have established the client ID and client secret. But the reps from SmartEquip are saying they need the token endpoint; which I don't understand how to gather for them if we aren't using token based authentication
This is the documentation they sent us to establish
e
The token endpoint that you will need to provide for them can be found here
j
I attempted to use that documentation as well earlier, all I get is this: "error": "unsupported_grant_type"
e
The process involves getting a certificate from SmartEquip and they send you the public .pem file to upload to Netsuite and then you'll get values for them to use on their side to generate the JWT which they will use to get an access token before they can make any requests to NS. That's just the authorization/authentication side of things. The method for retrieving data would be one of the 3 methods - SOAP, REST, RESTlet.
👀 1
grant type would be related to how you set up your integration record. client credentials are preferred to authorization code grant so you will need to make sure to check public client and client credentials checked as well as checking the scope for which the integration needs access to.
j
Yeah, I've got that correct grant_type set up as well. I will share what you mentioned above, because I haven't received any of that from them