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

# Shopify Integration

> Automatically publish blog posts to your Shopify store.

## Overview

The Shopify integration allows Sight AI to publish articles directly to your Shopify store's blog. This is perfect for e-commerce content marketing and SEO.

## Requirements

* **Shopify store** -- Any Shopify plan with blog functionality
* **Blog created** -- At least one blog in your Shopify store
* **Admin access** -- Access to create API credentials

## Setup Instructions

### Step 1: Create a Custom App

1. Go to your Shopify admin
2. Navigate to **Settings > Apps and sales channels**
3. Click **"Develop apps"**
4. Click **"Create an app"**
5. Name it **"Sight AI"**
6. Click **"Create app"**

### Step 2: Configure API Permissions

1. In your new app, click **"Configure Admin API scopes"**
2. Enable these permissions:
   * `write_content` -- To create blog posts
   * `read_content` -- To list blogs
3. Save the configuration
4. Click **"Install app"** and confirm

### Step 3: Get API Credentials

1. After installing, go to **API credentials**
2. Copy the **Admin API access token** (shown only once)
3. Note your **store URL** (e.g., `your-store.myshopify.com`)

### Step 4: Connect in Sight AI

1. Go to **Integrations** in Sight AI
2. Click **Shopify**
3. Enter your Shopify store URL
4. Paste the Admin API access token
5. Click **"Connect"**

## Configuration Options

### Select Blog

Choose which Shopify blog to publish to. If you have multiple blogs (e.g., "News", "Guides"), select the appropriate one for your content.

### Publish Status

* **Published** -- Articles go live immediately
* **Hidden** -- Articles are saved but not visible to customers

### Author

Set a default author name for published articles.

## Publishing Articles

### Manual Sync

1. Open the article in Sight AI
2. Click **"Sync to CMS"**
3. Select Shopify as the target
4. Choose the blog (if you have multiple)
5. Confirm and publish

### Autopilot Publishing

When Autopilot is enabled, articles automatically publish to your selected Shopify blog.

## What Gets Synced

* **Title** -- Blog post title
* **Content** -- Full HTML content
* **Featured Image** -- Main post image
* **In-Body Images** -- Images within content
* **Summary/Excerpt** -- Post excerpt
* **Handle** -- SEO-friendly URL slug
* **Author** -- Post author name
* **Tags** -- If configured

## SEO Features

Shopify articles synced from Sight AI include:

* SEO-optimized title
* Meta description (from summary)
* Clean URL handle
* Proper heading structure
* Optimized images with alt text

## Active CMS

Sight AI supports only **one active CMS integration per site** at a time. When you connect Shopify and set it as your active CMS, articles are published to your Shopify blog instead of any previously active CMS.

You can switch to a different CMS at any time from the **Integrations** hub -- your Shopify configuration and previously published posts are preserved.

## Troubleshooting

### Connection Failed

* Verify your store URL format (`store-name.myshopify.com`)
* Check that the API token has correct permissions
* Ensure the custom app is installed
* Try regenerating the API token

### Articles Not Appearing

* Check the publish status (may be set to Hidden)
* Verify the correct blog is selected
* Look in **Online Store > Blog posts** in Shopify admin

### Images Not Showing

* Check that your Shopify plan supports file uploads
* Verify image file sizes are within limits
* Try re-syncing the article

## Disconnecting

To disconnect Shopify:

1. Go to **Integrations**
2. Click **Shopify**
3. Click **"Disconnect"**

Previously published blog posts remain on your Shopify store.

## Next Steps

* [Generate product-focused content](/ai-content/overview)
* [Set up Autopilot publishing](/ai-content/autopilot)
* [Configure search engine indexing](/indexing/how-it-works)
