For the complete documentation index, see llms.txt. This page is also available as Markdown.

Embedding the widget

Three ways to put the widget in your product, and how to hand it a token safely.

Widgets → Embed

The Embed tab with Iframe selected beside SDK and A2A soon, a USER selector set to NewTest, and an Embed Code block with a Copy button, beside a preview reading TikTok Shop, 0 of 1 connected
The preview follows the selected user, pick one and the panel shows that customer's real connection state, not a mock-up.

Pick the customer first

The widget is always scoped to one of your customers, so the USER dropdown at the top is not a preview toggle. It decides who the generated snippet is for.

The dropdown lists the customers on your account, by their identifier, for example test-tenant. Selecting one does two things at once:

  • the preview beside it shows that customer's real connection state, not a mock-up, so TikTok Shop, 0 of 1 connected is the truth for that customer

  • the Embed Code block regenerates with a token scoped to them

If the dropdown is empty, you have no customers yet. Create one under Customers first.

Then choose how to mount it.

Method
Requirement
Status

Iframe

Anywhere you control HTML

Available

SDK

You can run JavaScript

Available

A2A

Agent-to-agent

Coming soon

Instead of a snippet, send a link. It keeps working until you revoke it, and the URL carries no token.

Create links per customer under Shareable links on the Embed tab. Each row offers Copy, Show and Revoke.

A shareable link suits the cases where you cannot embed at all: onboarding a customer before they have access to your product, letting someone connect their accounts from an email, or handing a link to a customer's IT team to authorise on their behalf. Revoke is immediate, and it is the only way to withdraw one.

In this section

Last updated

Was this helpful?