Integrations

Shopify

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

Connect a Shopify store you already run, then let Lyna build your storefront from the chat. With full access, the AI can also manage your products, collections, discounts and webhooks.

Lyna reaches your store in two ways:

  • Storefront (in the browser): your published app reads the catalog and the cart with a public storefront access token that is safe to embed. Storefront connect gives you this.
  • Admin (on the server, full access only): Lyna manages your catalog (products, collections, discounts, orders) from its own server, with short-lived Admin API tokens it gets from your own app's credentials. Those credentials never reach the browser.

What you can do

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

Before you begin

  • Your Shopify account owns the store and its data.
  • 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.
  • A paid Shopify plan to go live. After any trial, selling publicly needs 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
UnlocksAn AI-built storefront: product and collection browsing, cart, Shopify hosted checkout, publishingEverything in Storefront connect, plus product management from the chat, webhooks and the Admin tabs of the API Explorer
Product managementIn the Shopify adminFrom the chat or the Shopify admin

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

Connect your store

Open the project, go to Settings > Connectors > Shopify and choose Connect. Before you connect, you can set what Lyna's AI may do (see Permissions). The defaults are sensible, so you can also connect now and adjust later.

  1. Install the Headless channel

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

  2. Create a storefront

    Open the Headless channel in your Shopify admin and choose Create storefront. Your store now has a storefront that outside apps, like your Lyna project, can read.

  3. Copy the access token

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

  4. Paste it into Lyna

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

  5. Build the storefront

    Ask Lyna in the 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."

    Your customers shop on your published Lyna app, not on the *.myshopify.com admin address. You keep managing products, collections and discounts in the Shopify admin.

Test checkout and launch

Check the purchase flow, then publish your app. For example, ask: "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, your store also needs a paid Shopify plan.

Development stores and going live

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

Manage the connection from the editor

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

You can also disconnect from Settings > Connectors > Shopify. Disconnecting removes the saved credentials and unlinks the store from the project. Your store, its data and your app in the Dev Dashboard stay as they are on Shopify.

FAQ

Need help?

Ask the team, read what changed, or learn from the blog.