fbpx

SmartHint Tray Corp (API) integration

Installation tutorial

Reading Time: 12 minutes

smarthint tray corp integration

Glad you decided to use SmartHint services. Your store will soon benefit from our artificial intelligence, increasing conversion rates and average ticket. But first we need to install our API.

Installing the API SmartHint on the Tray Corp platform is simple and easy, just follow the steps below:

  1. access the Tray Corp platform and add the script with the SmartHint;
  2. manages the token integration for SmartHint;
  3. configure the token authorizing all items from Attribute, Product, Category e Request;
  4. inform the token generated on the configuration page of shop on the platform SmartHint.
  5. unblock the URL SmartHint website.

Rest assured, let's see each step in more detail.

1 - How to create the SmartHint script

First, you will need to access the SmartHint administrative panel. Click here and login, then use the main menu and click Manage Account

manage smarthint account

Then click the button Virtual store.

Then in Choose your online store to generate the Script, select Tray Corp. Copy the code that will be displayed.

smarthint panel script

With the code in copy, access the administrative panel of Tray Corp, click on Admin Settings > Script Manager and click Add Script.

Tray corp script manager

Then in Add Script, inform the mandatory data. In Your name type it SmartHint.

Add smarthint script to the tray corp

Em Script position on the page select Body - First lineOn Pages that the script will be inserted into select Todas, and Page Identifier, select *.

smarthint tray corp integration script

Then in the field Script Content, paste the copied script code into the SmartHint panel and click the button Add Script.

smarthint tray corp integration script

After that, you will be directed to a page indicating that the script was successfully added, scroll the page to the end and click Save and depois Publish. Then go back to Admin Settings > Script Manager and activate the SmartHint script in the column Ativo

script activation

2 - How to generate the integration token

Still on the Tray Corp platform, access the menu Admin Settings> Integration Token and click the button Add Token.

add token integration tray corp smarthint

When you press the button, the system automatically generates a new token and directs you to a new editing screen, where you can make some settings.

3- How to configure token information and permissions

In the settings screen that was opened after the token was created, enter the name of the token: SmartHint, for example. In Integration Type, select New Integration - REST.

Token integration tray corp smarthint

Then, below the token information, configure the All rights reserved.. For the correct functioning of the API, it is necessary to complete the application for GET permission within Attribute, Category, Product e Request Status. For one of them, just fill in the first GET, which returns all attributes, categories, products and order situations. For the other options it is not necessary to fill in anything. 

Permissions tray corp panel

To finish the process of creating the token, after the settings, just go to the bottom of the screen and click the button Save and the token will be active and ready to use.

4- How to inform the generated token to SmartHint

Em Admin Settings > Integration Token copy the code of the SmartHint token.

Smarthint tray corp integration token

Then, go back to the page Virtual store on the administrative portal of SmartHint - shown in step 1. Finally, paste the copied token code into the field 2 - Insert the Application Token and click Follow to save.

Insert application token

5- How to unblock the URL of the SmartHint website

After the integration is carried out, following the previous steps, it is Extremely necessary that you unlock the URL of the SmartHint website, otherwise the shop windows and pop-ups will not appear in the shopping cart, nor will the order collection. You will not have our script and page identification in that location. 

To unblock our website URL, click on this link and follow the step by step. In Add new URL, type “smarthint.co” in the field New URL and select the second option, which includes Everything in this domain. Then click Save and it's done.

unblock URL

Congratulations!

You installed our service and now we will load your products in a period that takes 4 to 24 hours. 

Note: if you have previously configured the integration by GTM, you will need to interrupt or delete the TAG in Google Tag Manager.

Request a demo of the tool:

    To share:
    2021-05-14T18:30:15+00:00

    About the author:

    Tânia d'Arc
    Tânia d'Arc is the content analyst at SmartHint, responsible for producing, revising and analyzing texts for the company's blog and social networks. Formed in letters, she is passionate about words, communication and obsessed with details.