Skip to content

API keys

An API key (asmk_…) is the credential used by desktop or command-line AI assistants (Claude Desktop, Claude Code, Codex, or a custom agent) and by your own scripts to connect to Assemblified. Each key is tied to your single store.

Web-chat apps (claude.ai and ChatGPT) don’t use these keys — they connect a different way. See Connect claude.ai or ChatGPT.

  • Creating a key
  • The one-time reveal
  • Scopes
  • Who created a key
  • Revoking a key
  1. Open Settings → LLM / API Access.
  2. In the API keys for REST and your own agent card, click Create API Key.
  3. Optionally type a Label (for example, Claude Desktop or Laptop CLI) so you can recognise the key later.
  4. Pick a ScopeRead only (recommended) or Read & write. See Scopes below.
  5. Click Create API Key.

The new key appears immediately in a green panel at the top of the card.

After you’ve copied it, the panel goes away and the key appears in the Active keys table — but only by its short prefix, never in full.

ScopeWhat it allows
Read onlyThe assistant can read your data but change nothing. The right default for most connections.
Read & writeThe assistant can additionally create and update your bills of materials, sub-assemblies, and raw materials — see Operating BOMs & sub-assemblies and Operating raw materials & stock.

The Active keys table records who created each key (name and email, taken from the Shopify login of the person who clicked Create API Key), the scope, your label, and the creation date. This gives you an audit trail when several people in your store can issue keys.

To turn off a key, click the trash icon on its row in the Active keys table and confirm. Revocation takes effect on the assistant’s next request — a revoked key can no longer read or change any data, and the row is shown struck through and marked revoked.

Revoke a key whenever:

  • A laptop or device that held the key is lost.
  • Someone who set up an assistant leaves the team.
  • You’re rotating credentials as routine hygiene.