Connect a Shopify store in one of two ways, both with the store's .myshopify.com domain:
- Client credentials (Dev Dashboard app): the app's client ID and secret. Sim requests a 24-hour Admin API token from Shopify when a workflow needs one and renews it before it expires. Use this for apps created in the Dev Dashboard, which never show an Admin API token.
- Admin API access token: a non-expiring offline
shpat_token pasted once. Sim stores the pasted token and does not renew expiring tokens.
Prerequisites
You need store owner or staff permissions that allow managing apps on the store. You'll also need your store's permanent domain (your-store.myshopify.com) — Sim asks for it alongside the token.
Shopify no longer allows creating new custom apps from the store admin — that path is legacy. New custom apps are created from the Dev Dashboard (dev.shopify.com) or the Shopify CLI; connect those with client credentials. If you already have an admin-created custom app, its shpat_ token still works and can be pasted into Sim directly.
Connect a Dev Dashboard app with client credentials
Shopify's client credentials grant only works when the app and the store belong to the same Shopify organization. If they don't, Shopify refuses the grant (shop_not_permitted) and Sim tells you so when you save the connection.
In the Dev Dashboard, create an app, configure the Admin API access scopes listed below, and install it on your store
Copy the app's Client ID and Client secret from its settings
In Sim, open Integrations, search for "Shopify", click Add to Sim, and choose Add admin API token. Leave Authentication on Client credentials (Dev Dashboard app), then paste the client ID, the client secret, and the store domain
Save. Sim requests a token from Shopify and runs a scope-free
shopquery with it before saving. The client ID, client secret, and store domain are encrypted. Sim keeps one encrypted 24-hour token per app and store, separate from the credential, requests a new one before it expires, and replaces it early if Shopify rejects it
Tokens carry every scope the store granted the app; Sim never requests a narrower set. Rotating the client secret in the Dev Dashboard means reconnecting the credential in Sim with the new secret.
Set up the custom app
1. Create the app and grant scopes
Open the Dev Dashboard, create a new app (e.g.
sim-workflows), and connect it to your storeConfigure the app's Admin API access scopes. The set Sim's Shopify tools use is:
text In Shopify,
write_Xincludesread_X, so these six cover product, collection, order, fulfillment, customer, inventory, and location operations. Grant fewer if your workflows only read — e.g.read_productsalone is enough for product and collection lookupsInstall the app on your store, then obtain the
shpat_token as described in the next section — the flow differs by app type
2. Get the Admin API access token
How you obtain the shpat_ token depends on how the app was created:
- Legacy admin-created custom apps (created from the store admin before Shopify removed that path) show the Admin API access token — it starts with
shpat_— once on the app's API credentials page. Reveal it, copy it immediately, and paste it into Sim. For legacy admin-created custom apps, Shopify shows the token only once, at creation — if you lose it, you have to reinstall or recreate the app to get a new one. - New Dev Dashboard apps do not display a permanent
shpat_token in any UI. Connect them with client credentials instead. Don't paste a 24-hour client-credentials token here: it stops working after a day.
3. Find your store domain
Use the permanent .myshopify.com domain — for example, your-store.myshopify.com — not your custom storefront domain. You can find it in your Shopify admin URL or under Settings → Domains.
Add the Admin API token to Sim
Open Integrations from your workspace sidebar
Search for "Shopify" and open it, then click Add to Sim and choose Add admin API token
Set Authentication to Admin API access token (shpat_), paste the token, enter the store domain (e.g.
your-store.myshopify.com), and optionally set a display name and descriptionClick Add admin API token. Sim verifies the token with a scope-free
shopquery on the store’s GraphQL Admin API — if it fails, you'll see a specific error explaining what went wrong.
The token and store domain are encrypted before being stored.
Use the credential in workflows
Add a Shopify block to your workflow. In the credential dropdown, select the saved Shopify Admin API token. Select it and configure the block as you normally would — the store domain stored with the credential is used automatically.
The block calls your store's Admin API (your-store.myshopify.com/admin/api/...) using the token, with exactly the scopes you granted the app.
Token lifecycle and recovery
A pasted credential must use a non-expiring offline token; Sim does not renew a pasted online, expiring offline, or 24-hour client-credentials token. Connect a Dev Dashboard app with client credentials instead, and Sim renews its tokens itself. A shpat_ prefix alone does not establish the token’s lifetime. See Shopify’s access-token reference.
Tokens are scoped to the app’s installation on a store. Add a separate credential for each store. If an operation fails with access denied, review the app’s scopes and the store’s approval for protected data. Apply the scope change and re-authorize as required; update Sim if the procedure issues a replacement token.
Legacy admin-created custom apps reveal their token only once. If it is lost, uninstall/reinstall or recreate the app to issue a replacement. These procedures invalidate the old token, so plan the interruption and update Sim immediately. Do not apply that one-time UI recovery procedure to a Dev Dashboard app that obtains its token through OAuth.