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

# Shopify Integration

> Connect Shopify so Migma can use store, product, customer, and order context in email work.

Use Shopify when product, inventory, customer, or order context should shape email creation.

Shopify connects as an MCP data source. Migma can use the connected store while preparing email work, but you still review and approve any email before export or send.

## What you can do

<CardGroup cols={2}>
  <Card title="Use product context" icon="shopping-bag">
    Reference products, images, URLs, inventory, and store information when creating email.
  </Card>

  <Card title="Use customer and order context" icon="users">
    Prepare lifecycle, win-back, post-purchase, or product-recommendation emails with store context.
  </Card>

  <Card title="Connect by store URL" icon="link">
    Add a Shopify MCP server from the setup flow or MCP server tools.
  </Card>

  <Card title="Review before action" icon="eye">
    Migma prepares content. You approve final send, export, or schedule.
  </Card>
</CardGroup>

## Connect Shopify

<Steps>
  <Step title="Open setup or tools">
    Connect Shopify during setup, or open the brand's MCP server tools and choose **Shopify**.
  </Step>

  <Step title="Enter the store URL">
    Enter the full store URL or Shopify subdomain. Migma uses the store MCP endpoint to test available tools.
  </Step>

  <Step title="Enable tools">
    Migma tests the connection and enables available Shopify tools for the brand.
  </Step>

  <Step title="Use Shopify in prompts">
    Ask Migma to use store products, collections, customers, or orders when preparing the email.
  </Step>
</Steps>

## Prompt examples

```text theme={null}
Create a product launch email using the top products from my Shopify store.
Show product names, current prices, images, and links.
```

```text theme={null}
Prepare a post-purchase follow-up for customers who bought running shoes.
Use Shopify order context where available, but do not invent purchase details.
```

## Access and control

* Shopify is used as context for email preparation.
* You review the generated email before send or export.
* Disconnect Shopify from the same MCP server or integration surface where it was added.
* If Shopify is not connected, use manual product details, CSV data, or pasted references instead.

## Related docs

<CardGroup cols={2}>
  <Card title="External MCP" icon="https://mintcdn.com/migmaai/kT6TJgF40rDP8_qB/images/logos/mcp-server.svg?fit=max&auto=format&n=kT6TJgF40rDP8_qB&q=85&s=f5f7603fbb9a215d6bfd3b6390062008" href="/integrations/mcp-servers" width="24" height="24" data-path="images/logos/mcp-server.svg">
    Connect Shopify and other external data tools.
  </Card>

  <Card title="Create Emails" icon="wand-magic-sparkles" href="/creating-emails/overview">
    Use connected context while preparing email work.
  </Card>
</CardGroup>
