support@trackstarhq.com
.
Fully setting up Trackstar will require updates to both your
frontend (FE) and backend (BE) code. We will denote which
steps are for the frontend and which are for the backend.
Your frontend will make calls to your backend, which will in turn make calls to the Trackstar API.
This gets the authorization necessary for your user to authenticate with Trackstar and the underlying APIs.
POST /link/token
endpoint to get a link token.
/get-link-token
and /store-token
in this guide).
POST /get-link-token
- Returns a temporary link token that is used to initialize the react-trackstar-link
component.POST /store-token
- Exchanges a temporary auth code for a permanent access token and saves it to a database.
This access token is associated with a customer and an integration (ShipBob, Extensiv, etc)./get-link-token
/store-token
/link/exchange
endpoint to get a long-lived access_token
.
Additionally, a connection_id
and integration_name
will be returned. Connection IDs are unique identifiers for each connected integration.
You should store these in your database along with the access_token
if you plan on utilizing Trackstar Webhooks.
TrackstarConnectButton
component and render it in your app.
support@trackstarhq.com
and let us know how we can improve this guide.