First, decide which events you actually need. TikTok's standard events that carry commercial meaning for a store are ViewContent, AddToCart, InitiateCheckout and CompletePayment — note the last one: TikTok calls a completed sale CompletePayment, not Purchase, and sending a custom “Purchase” gives you an event nobody can optimise on.
Second, treat the access token like a password. It lives in the server environment or an encrypted settings row, never in the JavaScript bundle, and one token covers one data source — the same way a Meta CAPI token does.