> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cernel.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connecting Shopify

> Connect your Shopify store to Cernel for two-way product sync in minutes.

Cernel integrates directly with Shopify to pull your product catalog in and push enriched content back, including metafields. Once connected, your products sync automatically so your AI-generated content flows straight to your store.

## How it works

The Shopify integration creates a two-way connection between your store and Cernel. When you connect, Cernel imports your full product catalog (names, images, variants, and existing descriptions). After you enrich products with AI-generated content, you can sync the results back to Shopify as product fields or custom metafields.

### Why you would use this

<CardGroup cols={2}>
  <Card title="No manual data entry" icon="arrow-right-arrow-left">
    Your products flow directly from Shopify into Cernel. No CSV exports, no copy-paste, no data gaps.
  </Card>

  <Card title="Push enriched content back instantly" icon="upload">
    AI-generated descriptions, meta titles, and attribute values sync back to Shopify, including custom metafields for structured data your theme can display.
  </Card>
</CardGroup>

<Note>
  **Before you start:** You'll need admin access to your Shopify store and a Cernel account. The connection uses Shopify's official OAuth flow, so there are no API keys to manage manually.

  The integration adopts your store's languages when it connects, and its default language is the store's default language (see **Settings > Languages** in your Shopify admin). Create your Cernel organization with the same primary language as the store's default; Cernel warns you when the two differ.
</Note>

## Step-by-step guide

<Steps>
  <Step title="Navigate to Integrations">
    In Cernel, go to **Settings** in the sidebar, then select **Organization > Integrations**.

    <Frame caption="The Integrations page under Settings. Click 'Add Integration' to get started">
      <img src="https://mintcdn.com/cernel-e5adbeb5/8s8TTk4ITllBQt38/images/shopify/integrations-page.png?fit=max&auto=format&n=8s8TTk4ITllBQt38&q=85&s=3b910882ade091e0975e5f7f3ea99fa9" alt="The Integrations page under Settings > Organization showing existing integrations with their type, direction, language, status, and an 'Add Integration' button" data-og-width="2880" width="2880" data-og-height="1800" height="1800" data-path="images/shopify/integrations-page.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/cernel-e5adbeb5/8s8TTk4ITllBQt38/images/shopify/integrations-page.png?w=280&fit=max&auto=format&n=8s8TTk4ITllBQt38&q=85&s=eb28538bce49e7f5b9135008d67c6fbf 280w, https://mintcdn.com/cernel-e5adbeb5/8s8TTk4ITllBQt38/images/shopify/integrations-page.png?w=560&fit=max&auto=format&n=8s8TTk4ITllBQt38&q=85&s=83868b964ee7aa52e9b533df15d0b962 560w, https://mintcdn.com/cernel-e5adbeb5/8s8TTk4ITllBQt38/images/shopify/integrations-page.png?w=840&fit=max&auto=format&n=8s8TTk4ITllBQt38&q=85&s=456aa37710a4f78d9bf4b5f260a79691 840w, https://mintcdn.com/cernel-e5adbeb5/8s8TTk4ITllBQt38/images/shopify/integrations-page.png?w=1100&fit=max&auto=format&n=8s8TTk4ITllBQt38&q=85&s=dc0de79b1cece6ac9afd19e8190310f0 1100w, https://mintcdn.com/cernel-e5adbeb5/8s8TTk4ITllBQt38/images/shopify/integrations-page.png?w=1650&fit=max&auto=format&n=8s8TTk4ITllBQt38&q=85&s=91abf74b54e25c213eec6fc58bc36dce 1650w, https://mintcdn.com/cernel-e5adbeb5/8s8TTk4ITllBQt38/images/shopify/integrations-page.png?w=2500&fit=max&auto=format&n=8s8TTk4ITllBQt38&q=85&s=1b21dbc368c5cde93e0396312dd4fde5 2500w" />
    </Frame>
  </Step>

  <Step title="Add a new integration">
    Click **Add Integration**. In the integration selection modal, choose **Shopify**.
  </Step>

  <Step title="Enter your Shopify domain">
    Enter your Shopify store domain (e.g., `your-store.myshopify.com`). Click **Connect** to begin the OAuth authorization flow.

    <Tip>
      Your domain is the `.myshopify.com` address, not your custom domain. You can find it in Shopify under **Settings > Domains**.
    </Tip>
  </Step>

  <Step title="Authorize the connection in Shopify">
    You'll be redirected to Shopify to authorize Cernel. Review the requested permissions and click **Install app**.
  </Step>

  <Step title="Wait for the initial sync">
    After authorizing, Cernel begins importing your products. You'll see a progress indicator showing the sync status. This may take a few minutes depending on your catalog size.

    <Check>
      You've successfully connected your Shopify store. Once the sync completes, your products will appear in the Cernel **Catalog** and you can start enriching them with AI.
    </Check>
  </Step>
</Steps>

## Advanced configuration

<AccordionGroup>
  <Accordion title="Attribute mapping">
    After connecting, you can map Cernel attributes to Shopify product fields. Navigate to **Tools > Integrations**, click on your Shopify connection, and open **Property Mapping**.

    The mapping interface shows your Cernel attributes on the left and available Shopify fields on the right. Draw connections between them to define how enriched content flows back to your store.
  </Accordion>

  <Accordion title="Syncing to Shopify Metafields">
    For structured data that doesn't map to standard Shopify fields (like materials or size guides), you can sync attributes as Shopify metafields. When configuring an attribute, enable **Sync to Shopify Metafields** and select the metafield namespace and key.

    You don't need to pre-create the metafield definition in Shopify. If the namespace and key don't exist yet, Cernel creates the metafield definition in your Shopify store automatically when you set up the mapping. If a definition with that namespace and key already exists, Cernel uses it.

    Metafields are useful for data your Shopify theme can render dynamically, like displaying material lists or care instructions on product pages.
  </Accordion>

  <Accordion title="Sync behavior">
    You can configure how Cernel handles sync conflicts and update behavior under **Sync behavior configuration** in the integration settings. Options include choosing a sync mode that controls whether Cernel overwrites existing Shopify data or only fills in empty fields.
  </Accordion>
</AccordionGroup>

<Warning>
  Changes synced to Shopify are live. Always use the **Review & Approve** workflow in Cernel before pushing enriched content to your store.
</Warning>

## Frequently asked questions

<AccordionGroup>
  <Accordion title="How long does the initial product import take?">
    It depends on your catalog size. A store with a few hundred products typically imports in under a minute. Larger catalogs with thousands of products may take several minutes. You can close the modal and products will continue importing in the background.
  </Accordion>

  <Accordion title="Why aren't my products showing up after connecting?">
    First, check the integration status under **Tools > Integrations**. If the status shows the sync is still running, wait for it to complete. If the sync failed, try disconnecting and reconnecting the integration. Make sure you authorized all requested permissions in Shopify.
  </Accordion>

  <Accordion title="Can I connect multiple Shopify stores?">
    Yes. Go to **Tools > Integrations** and click **Add Integration** again to connect additional stores. Each store connection is managed independently.
  </Accordion>

  <Accordion title="What Shopify permissions does Cernel need?">
    Cernel requests read and write access to your product catalog, including product data, images, and metafields. These permissions are required for the two-way sync to work. Cernel does not access customer data, orders, or payment information.
  </Accordion>

  <Accordion title="Can I disconnect my Shopify store later?">
    Yes. Go to **Tools > Integrations**, find your Shopify connection, and remove it. Syncing stops, and no data is ever deleted from your Shopify store.

    <Warning>
      The removal dialog includes a **Delete imported products** option that is **on by default**: leaving it on permanently deletes the products imported through that integration from your Cernel catalog. Turn it off if you want to keep them, or simply disable the integration instead of removing it to stop syncing without touching your catalog. See [Removing an integration](/integrations/shopify) for details.
    </Warning>
  </Accordion>
</AccordionGroup>

## What's next

<CardGroup cols={2}>
  <Card title="Cernel Taxonomy" icon="arrow-right" href="/features/cernel-taxonomy">
    See how Cernel automatically classifies your imported products into categories, and where to configure the attributes and agents that run on each branch of the tree.
  </Card>

  <Card title="AI Agents" icon="arrow-right" href="/features/ai-agents">
    Set up AI agents to generate descriptions, meta content, and structured attributes for your products.
  </Card>
</CardGroup>
