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.
On this page
Section titled “On this page”- Creating a key
- The one-time reveal
- Scopes
- Who created a key
- Revoking a key
Creating a key
Section titled “Creating a key”- Open Settings → LLM / API Access.
- In the API keys for REST and your own agent card, click Create API Key.
- Optionally type a Label (for example,
Claude DesktoporLaptop CLI) so you can recognise the key later. - Pick a Scope — Read only (recommended) or Read & write. See Scopes below.
- Click Create API Key.
The new key appears immediately in a green panel at the top of the card.
The one-time reveal
Section titled “The one-time reveal”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.
Scopes
Section titled “Scopes”| Scope | What it allows |
|---|---|
| Read only | The assistant can read your data but change nothing. The right default for most connections. |
| Read & write | The 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. |
Who created a key
Section titled “Who created a key”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.
Revoking a key
Section titled “Revoking a key”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.
See also
Section titled “See also”- Connect a desktop / CLI client — where the key goes for AI assistants.
- Managing access & security — the full security model.