Lyna
SupportBlogOpen Lyna
Get startedFeaturesIntegrationsPromptingTips & TricksChangelog
Shopify

Shopify

Connect your existing Shopify store and let Lyna build and manage your storefront from chat.

Connect a Shopify store you already run to sell physical and digital products online, then let Lyna build your storefront. Once a store is linked to your project, Lyna's AI can scaffold a working storefront in your app (product and collection browsing, cart, Shopify hosted checkout), and, with full access, also create products, organize collections, set up discounts, and manage webhooks, all from the chat.

Lyna talks to Shopify through two surfaces:

  • Storefront (client side): your published app reads catalog and cart data using a public storefront access token that is safe to embed. This is what Storefront connect provides.
  • Admin (server side, full access only): Lyna manages your catalog (products, collections, discounts, orders) through its own server, using short-lived Admin API tokens obtained from your own app's credentials. Those credentials never touch the browser.

What you can build

  • Sell physical products like apparel, candles, or homeware.
  • Offer digital downloads such as templates, ebooks, or presets.
  • Launch a niche brand with a focused product catalog.
  • Run a small business storefront without managing servers.
  • Prototype and test a store idea on a free development store.
  • Expand an existing business to a new online sales channel.

Before you begin

You own the Shopify store from the start. Lyna connects to a store, it does not create or own one for you, and it never transfers ownership.

  • You own the store. You connect a store you already run, and the store and its data belong to your Shopify account.
  • A development store is great for building. Free Shopify development stores let you build, preview, and test the full storefront at no cost. They cannot publish the Online Store sales channel publicly, so move to a paid Shopify plan when you are ready to sell to real customers.
  • Paid plan to go live. After any trial, selling publicly requires an active paid Shopify plan.
  • No Shopify app charges. Connecting Shopify adds nothing to your Shopify bill. The connector is part of Lyna and covered by your Lyna plan. See Billing.

Two ways to connect

Storefront connect (recommended)Full access (optional)
Setup timeAbout 2 minutesAbout 5 minutes
What you provideA public storefront access token from Shopify's Headless channelThe Client ID and Client secret of your own API-only app
UnlocksAI-built storefront: product and collection browsing, cart, Shopify hosted checkout, publishingEverything in Storefront connect, plus AI product management from chat, webhooks, and the Admin tabs of the API Explorer
Product managementStays in the Shopify adminFrom Lyna chat or the Shopify admin

You can start with Storefront connect and upgrade the same project to full access at any time from Settings > Integrations > Shopify > Upgrade to full access.


Connect your store

Open the project you want to add a store to, then go to Settings > Integrations > Shopify and click Connect. Before connecting, you can pre-configure what Lyna's AI is allowed to do (see Permissions). The defaults are sensible, so you can also just connect and adjust later.

Install the Headless channel

In your Shopify admin, install Shopify's first-party Headless channel from apps.shopify.com/headless. It is free and made by Shopify.

Create a storefront

Open the Headless channel in your Shopify admin and click Create storefront. This gives your store a storefront that external apps like your Lyna project can read.

Copy the access token

On the new storefront's page, copy the public access token. You can optionally also copy the private access token for server-side reads.

Paste it into Lyna

In your project, open Settings > Integrations > Shopify > Connect, choose Storefront connect, and paste the token. The store is now linked to your project.

Build the storefront

Ask Lyna in chat:

  • "Scaffold a Shopify storefront in my app: add the Storefront API client plus starter product listing and cart routes."
  • "Display the products from my store on the home page in a grid."

The customer-facing storefront is your published Lyna app, not the *.myshopify.com admin URL. You keep managing products, collections, and discounts in the Shopify admin.

Full access uses an API-only app that you create in your own Shopify account, so you stay in control of exactly what Lyna can do.

Create an app in the Dev Dashboard

Open the Shopify Dev Dashboard, click Create app, and choose Start from Dev Dashboard.

Configure the app version

In the app's Versions tab:

  • Keep the default app URL, https://shopify.dev/apps/default-app-home.
  • Pick the newest webhooks API version.
  • Paste the scopes list shown in Lyna's connect wizard (use the copy button in the wizard).

Then click Release.

Install the app on your store

Go to the app's Home tab, click Install app, and select your store.

Copy the credentials

Open the app's Settings and copy the Client ID and Client secret.

Paste them into Lyna

In your project, open Settings > Integrations > Shopify > Connect (or Upgrade to full access if the project already uses Storefront connect) and paste both values. Lyna then requests short-lived Admin API tokens automatically, and they renew on their own, so there is nothing to rotate by hand.

Manage the store from chat

Once connected, ask Lyna in chat:

  • "Create a few products in my Shopify store with titles, prices, descriptions, and images."
  • "Group these products into a Winter collection."
  • "Create a discount code WELCOME10 for 10% off."

Write actions are confirmed before they run, based on your permission settings.


Test checkout and launch

Verify the purchase flow, then publish your app:

  • "Create a test checkout for my Shopify store so I can verify the full purchase flow."

When you are ready, publish your project from Lyna. To sell publicly you also need your store on a paid Shopify plan.


Development stores and going live

If you connect a Shopify development store, the connector shows an Online Store channel is locked notice.

Development stores cannot publish the Online Store sales channel publicly. You can still build, preview, and test the full storefront. Move the store to a paid Shopify plan to take it live.


Managing the connection from the editor

When a store is connected, a Shopify pill appears in the project top bar. It shows the connected store domain and a menu to Open Shopify Admin or Disconnect store.

You can also disconnect from Settings > Integrations > Shopify. Disconnecting removes the stored credentials and unlinks the store from the project. Your store, its data, and your app in the Dev Dashboard remain untouched on Shopify.


Do I need to claim the store?

There is no separate "claim" step in Lyna. You create the store yourself on Shopify and you own it from the start, so there is no sandbox store to provision and no ownership to transfer. After a store is connected, the connect flow is complete: open the Shopify admin to finish account setup (payments, plan, trial) directly on Shopify.


FAQ