Sam Webster
Created Feb 20, 2023Connect: Tharstern - Connecting the Infigo and Tharstern systems
In this tutorial, we will learn how to connect our Infigo and Tharstern systems using the Connect:Tharstern integration plugin.
This setting allows the retrieval of stock levels from Tharstern rather than using the Infigo stock level.
When Infigo tries to place an order in Tharstern, we first check whether the stock meets the minimum order requirement set in Infigo.
This is set on a storefront by storefront basis.

This is an important step!
Our outgoing IP addresses need to be accessible to the server your Tharstern installation is located on. If your IT team doesn't restrict access then there should be no actions to take. However, if your security policy means the below IP addresses can't currently be accessed then they will require whitelisting:
35.177.47.232 (UK & Europe)
3.9.143.80 (UK & Europe)
35.177.47.232 (USA & Canada)
3.9.143.80 (USA & Canada)
API URL endpoint – This is the Tharstern API endpoint which our API will communicate with - this is a task for your internal IT team, however if they require clarification on this point, please contact Tharstern support. If there is a specific port required for this connection, you will need to ensure that our IP addresses (listed above) have access to this port.
Email address – This, along with the password, will be used to authenticate access to the API through the endpoint.
Password – As above, this will be used to authenticate access to the API.

Storefront Customer Code – This may be different for each one of your storefronts and will be used to retrieve product information from your Tharstern system. When we interact with products from your Tharstern system, this customer code must have access to all the products you intend to use as the system will only return products which this customer has access to.
A note on terminology: An Infigo "Department" manages a grouped set of users, such as those representing one particular company. An Infigo "Customer" is an individual user of a storefront.
Therstern's terminology is slightly different, with a Tharstern "Customer" relating to a group of users, such as those representing one company.
The Storefront Customer Code will serve as the Customer Code of the default (Tharstern) customer to use for creating estimates and sending orders, however it is possible to assign customer codes at a department level, allowing more granular control over which Infigo orders turn into Tharstern orders.

This is the interval at which the cache will be cleared and we will request updated prices, stock values, products etc. from Tharstern. This is measured in minutes and the default value is 1440 (every 24hrs).
We recommend leaving this at the default 1440.
When we collect information from the Tharstern system we pull the API and gather all of the product information and store it within our cache.
This means we do not need to constantly uphold the API to ensure we have relevant product information within our system which can be mapped.
The refresh interval is the time between refresh of this cached data.
