Credentials

Credentials

Credentials

TGC uses your Swell Store ID and public API key for its connection. Keep the same store and environment across the plugin, managed collections, and published storefront.

Use a public key

Get your credentials in Swell under Developer → API keys. Public keys are intended for browser storefronts and support permitted operations such as products, carts, and checkout. They are not simply read-only catalog keys. Never enter a secret key in TGC. See Swell’s guide.

Update the connection

  1. Open TGC from Canvas.

  2. Click the explicit Disconnect button beside your connected store.

  3. Enter the replacement credentials and connect. Keep your access-key license associated with the intended store.

  4. Reconfigure and sync the affected managed collections.

  5. Open the connected Canvas plugin so it can update site configuration, then publish and test the published storefront.

Where the connection is stored

The project stores connection details in plugin data. Managed collections also keep their sync credentials. Opening the connected plugin from Canvas attempts to write the public storefront configuration into site custom code, subject to your Framer permissions.

Disconnect clears the project connection and attempts to remove the injected configuration. It does not delete collections, revoke a Swell key, or guarantee that previously saved collection credentials have been erased. Update the collections when rotating keys or changing stores.

Runtime check

On the published site, window.__tgcConfig should contain the expected Store ID and public key. Do not paste keys into support messages or screenshots. If configuration is missing, reopen the connected Canvas plugin, check custom-code permissions, and republish.