publish where your site already lives
Connect Shopify to PilotDeck
Create a custom app in Shopify, copy its Admin API access token, map a blog to each kind of content and verify the integration.
What connecting Shopify does#
PilotDeck researches, drafts and queues content for review. A CMS connection is the last hop: once you approve a draft, PilotDeck sends it to your store for you. The example below uses a PilotDeck site named pilotdeck-testwebsite.
Two values to connect
You create a custom app in your Shopify admin and give PilotDeck your store domain and that app's Admin API access token. PilotDeck creates each article with its SEO title, description, tags and featured image.
Each kind its own blog
The moment you paste the token, PilotDeck loads your real blogs so you can map Blog, Service and Case Study each to one, before you even click Connect. Landing drafts always become Shopify Pages instead.
Drafts first
The default publish mode is Draft only. Articles arrive hidden, so nothing goes live until you publish it in Shopify.
Before you start#
| You need | Details |
|---|---|
| A Shopify store | Any store works, including a free development store from a Shopify Partners account. You need your store's permanent address, which is your store name followed by .myshopify.com. |
| Permission to develop apps | A Shopify login allowed to develop apps for the store (Settings > Users and permissions). The store owner always has it. |
| At least one blog | Articles are created inside an existing blog. A new store usually ships with a default blog called "News". To send different kinds of content to different blogs, create those blogs first under Content > Blog posts > Manage blogs. |
| A PilotDeck login | Permission to change integrations for the site. Without it the connect controls are unavailable. |
Overview#
- 1In Shopify, create a custom app and grant it Store content accessYou
- 2Install the app and reveal its Admin API access tokenYou
- 3Open Settings > Integrations in PilotDeck and pick ShopifyYou
- 4Paste your store domain and the access token. PilotDeck loads your real blogs and shows Blog mappingPilotDeck
- 5Pick a blog for each kind, if you want, and choose a publish modeYou
- 6Test the connection, then connectPilotDeck
- 7Send a test draft for each kind and check it in ShopifyVerify
In your Shopify admin, go to Settings > Apps and sales channels > Develop apps. If this is the first custom app on the store, Shopify may ask you to allow custom app development first (see Before you start).
Click Create an app, give it a name such as PilotDeck, and click Create app.
Open Configuration, then Admin API integration > Edit. Filter the access scopes for content and tick both boxes under Store content: write_content and read_content. Save.
Go back to Overview and click Install app, then confirm.
Open the API credentials tab. Under Admin API access token, click Reveal token once and copy it immediately. Shopify shows it only this one time.
In PilotDeck, make sure the correct site is selected in the top-left site switcher (here, pilotdeck-testwebsite). Go to Settings > Integrations and find the CMS Connection card, then choose Shopify.
- Type your store address into Store domain, for example
your-store.myshopify.com. - Paste the token into Admin API access token, then click or tab into another field. The field shows dots, so you cannot read it back.
- PilotDeck fetches your store's real blogs and shows Blog mapping: one field per kind of content, Blog, Service and Case Study, right here, before you connect anything.
Open each kind's field and pick one of your store's real blogs. This is a closed list: you can only choose a blog that already exists in your store.
Landing has no field: it is always created as a standalone Shopify Page, never a blog article, so there is nothing to map.
myshopify.com address, not a custom domain. If you type only the store name, PilotDeck adds .myshopify.com for you, and it ignores a leading https:// or any trailing path.Click Test connection first. PilotDeck checks the token against Shopify without saving anything. You should see "Looks good, credentials work."
Then click Connect. Any blogs you mapped above are saved immediately, no separate save step needed. A "CMS connected." message appears, and the card turns green with an ACTIVE badge.
You do not have to map every kind before you connect. Blog mapping stays on the connected card too, so you can set it up for the first time there, or change it later. Each kind of content has its own field, and the blog you choose applies to every draft of that kind from then on.
- Open the Blog, Service and Case Study fields and pick a blog for each. They can all use the same blog or each use a different one.
- Leave Landing as it is. The field is disabled because a Landing draft is always a standalone Page with no blog.
- Click Save blog mapping.
If you leave a field unmapped, that kind falls back to the first blog PilotDeck finds in your store, and you do not need to redo the custom app or token to change it later.
Each field under Blog mapping has its own small send icon. Click it to send a test draft for that kind of content, then open the view link or check it in Shopify.
| Kind | Message in PilotDeck | Where to find it in Shopify |
|---|---|---|
| Blog, Service, Case Study | "Test draft created." | Content > Blog posts, in the blog you mapped for that kind. Its visibility is Hidden. |
| Landing | "Created a page." | Online Store > Pages. Its visibility is Hidden. |
Test drafts always arrive hidden, whichever publish mode the card shows. Delete them in Shopify when you are done.
Publish modes and what gets created#
| Mode | What happens | When to use it |
|---|---|---|
| Draft only (default) | Articles and pages are created as hidden. You make them visible in Shopify when ready. | While you learn the flow, or when someone reviews on the Shopify side. |
| Publish live | Articles and pages are created visible and appear on your store. | Once you trust the output and your review step happens in PilotDeck. |
Change the mode from the selector on the connected card. PilotDeck asks you to confirm every switch, because the two modes behave differently once content has been sent.
Each Blog, Service and Case Study draft becomes an article with these fields:
- Title, body, handle (the URL slug) and summary from the draft's meta description.
- Tags, including your optional category.
- Featured image, when the draft has one. If Shopify rejects the image, the article is still created without it.
- SEO title and description, stored in Shopify's standard page title and description fields.
- FAQ and article structured data (JSON-LD) written into the article body, with Service structured data added for Service drafts, plus an author name and an author box when the draft has an author. The author name defaults to "PilotDeck" when none is set.
Each Landing draft becomes a Shopify Page with its title, body, handle, SEO title and description, and FAQ structured data. Shopify pages have no featured image, summary, tags or author field, so those are not set, and a page gets no article or Service structured data.
If the handle is already taken, PilotDeck retries with a numeric suffix, up to a few times, instead of failing.
What your URLs will look like#
Shopify sets the shape of these addresses, so every store follows the same pattern:
| Content | Address |
|---|---|
| Article in a blog | your-store.myshopify.com/blogs/<blog-handle>/<article-handle> |
| Landing page | your-store.myshopify.com/pages/<page-handle> |
For example, a Service draft mapped to a blog with the handle service is published at /blogs/service/<article-handle>. Your own domain replaces the myshopify.com address once it is connected in Shopify.
/service/<article-handle>. If you are used to WordPress, there is no equivalent of its permalink setting.Pages and articles usually use different theme templates. Check how your theme shows a page before you switch this connection to Publish live.
Disconnecting#
On the connected card click Disconnect and confirm. Approved content stops publishing to your store right away. This cannot be undone, but you can reconnect by repeating the steps above. To fully remove access, also uninstall the app you created in your Shopify admin under Settings > Apps and sales channels > Develop apps.
Troubleshooting#
A blog I just created is not in the Blog mapping list
The list only shows blogs that already exist in your store. Create the blog in Shopify, then reload the page in PilotDeck.
Can I remove /blogs/ or /pages/ from the address?
No. Shopify sets these prefixes for every store. See What your URLs will look like.
Create an app does nothing, or I don't see Develop apps
Custom app development may need enabling first on a store that has never created one, and only the store owner can turn it on from Develop apps. See Before you start.
Test connection fails with an authorization error
Check the Store domain is the .myshopify.com address, and that you copied the whole Admin API access token with no extra spaces. If you reinstalled the app since, the old token no longer works: reveal the new one and paste it in again.
I lost the Admin API access token
Shopify shows it only once. Go to the app's Overview tab, click Uninstall, then Install app again and reveal a fresh token under API credentials. Paste the new token into PilotDeck.
"No blog found in this store"
The store has no blog. Create one under Content > Blog posts > Manage blogs, then send the test draft again and choose it under Blog mapping.
The blog list is empty in Blog mapping
Your store returned no blogs. Create a blog in Shopify, then reopen the field to refresh the list.
The card shows needs reauth
Shopify rejected the saved token, often because the app was uninstalled or its scopes changed. Reinstall the app, reveal a new token under API credentials, then reconnect with it. The connection keeps your earlier blog choice.
The article address shows a password page
That is a development store. Its public pages are password protected, so the link is not openly reachable. The article still exists in your Shopify admin.
The article has no featured image
Shopify can refuse an image it cannot fetch. PilotDeck then creates the article without the image rather than blocking the publish. Add the image in Shopify.
Official documentation
Need help? Contact support.