[Integrations](https://spiral.ai/integrations) › [Grok](https://spiral.ai/integrations/grok) › [Search products](https://spiral.ai/integrations/grok/search-products)

# How to Use Search products in Grok

Find products in one Shopify store, with descriptions, price ranges, media, and purchasable options. Use it when you know what you want but haven't chosen a product.

|  |  |
| --- | --- |
| Model | Search products |
| Available through | Alexandria |
| Category | E-commerce |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Search products in Grok

- Use Shopify product search to find wool shoes at allbirds.com and compare three choices using their returned descriptions.
- Use Shopify product search to find training shirts at gymshark.com and show the product titles, images, and available buying options.
- Use Search products to look this up and give me the result as a table.
- Pull the latest numbers from Search products and tell me what changed since last week.
- Check Search products and summarize what you find in three bullet points.

## How to set up Search products in Grok

Pick the way that suits you. Each takes about two minutes.

### Use the Grok connector

1. **Add a custom connector**: In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

```text
https://api.spiral.ai/mcp
```

2. **Sign in to Spiral and approve**: Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.

3. **Check that it is connected**: Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

### Use the Spiral skill

1. **Send Grok this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Search products**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "shopify/storefront/search_catalog",
    "input": {
      "store_domain": "<store_domain>"
    }
  }'
```

Then paste one of the prompts above: Grok finds Search products on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/grok

## Search products tools and prices

- [Shopify · Storefront: Search products](https://spiral.ai/tools/alexandria/shopify/storefront/search_catalog) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| limit | 1 to 250 | — | Number of products per page, from 1 to 250. Shopify defaults to 10. |
| query |  | — | What are you looking for? For example: `trail shoes`. Leave empty to browse the store. |
| cursor |  | — | For the next page, paste pagination.cursor from the previous response and keep the same search and filters. |
| intent |  | — | Optional shopping preferences or intended use. |
| region |  | — | Buyer's state, province or region, such as CA. |
| country |  | — | Buyer's two-letter country code, such as US, CA or GB, for localized results. |

## What can you do with Search products in Grok?

Turn a shopping request into a comparison of products from one Shopify store. Explain the returned descriptions and buying options so the buyer can choose a product and inspect the right size or color.

### Choose the right clothing option

Find a shirt, refresh a shortlist, and inspect the chosen product's size and color availability before recommending a buying option.

### Compare products within one store

Build a buyer-facing comparison from product descriptions, media, and available options. Use search for discovery, lookup for known choices, and details for the final selection.

### Refresh a shopping shortlist

Revisit products a buyer is considering, retrieve their catalog records, and inspect the preferred item. Search for alternatives if the buyer wants more choices.

### Find an alternative to an unavailable item

Check the original product and its buying options, then search the same store for replacements. Compare the replacements against the buyer's requested features.

### Make a gift shortlist

Find gifts matching a stated interest, compare a few returned products, and inspect the options for the buyer's favorite.

### Check product claims before recommending

Use returned descriptions to check whether shortlisted products mention a requested material or feature. Show the supporting product text alongside the recommendation.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Grok guides](https://spiral.ai/integrations/grok)

## Search products in other agents

- [Amp](https://spiral.ai/integrations/amp/search-products)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/search-products)
- [Claude](https://spiral.ai/integrations/claude-desktop/search-products)
- [Claude Code](https://spiral.ai/integrations/claude-code/search-products)
- [Cline](https://spiral.ai/integrations/cline/search-products)
- [Codex](https://spiral.ai/integrations/codex/search-products)
- [Cursor](https://spiral.ai/integrations/cursor/search-products)
- [Devin](https://spiral.ai/integrations/devin/search-products)
- [dots](https://spiral.ai/integrations/dots/search-products)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/search-products)
- [Gemini](https://spiral.ai/integrations/gemini/search-products)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/search-products)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/search-products)
- [goose](https://spiral.ai/integrations/goose/search-products)
- [Grok Build](https://spiral.ai/integrations/grok-build/search-products)
- [Hermes](https://spiral.ai/integrations/hermes/search-products)
- [Instinct](https://spiral.ai/integrations/instinct/search-products)
- [Manus](https://spiral.ai/integrations/manus/search-products)
- [Muse](https://spiral.ai/integrations/muse/search-products)
- [Muse Code](https://spiral.ai/integrations/muse-code/search-products)
- [n8n](https://spiral.ai/integrations/n8n/search-products)
- [Notion](https://spiral.ai/integrations/notion/search-products)
- [OpenClaw](https://spiral.ai/integrations/openclaw/search-products)
- [opencode](https://spiral.ai/integrations/opencode/search-products)
- [Perplexity](https://spiral.ai/integrations/perplexity/search-products)
- [Raycast](https://spiral.ai/integrations/raycast/search-products)
- [VS Code](https://spiral.ai/integrations/vscode/search-products)
- [Windsurf](https://spiral.ai/integrations/windsurf/search-products)
- [Zapier](https://spiral.ai/integrations/zapier/search-products)

## More Grok guides

- [Savings.com store coupons](https://spiral.ai/integrations/grok/savings-com-store-coupons)
- [Shopify product availability](https://spiral.ai/integrations/grok/shopify-product-availability)
- [Savings.com hot coupons](https://spiral.ai/integrations/grok/savings-com-hot-coupons)
- [Shopify product details](https://spiral.ai/integrations/grok/shopify-product-details)
- [Savings.com category coupons](https://spiral.ai/integrations/grok/savings-com-category-coupons)
- [Shopify product lookup](https://spiral.ai/integrations/grok/shopify-product-lookup)

## Questions about Search products in Grok

**Can Grok use Search products?**

Yes. Add Spiral to Grok as an MCP server, and Grok can find and run Search products like any built-in tool.

**How much does Search products cost in Grok?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Grok plan is separate.

**Do I need an Alexandria account to use Search products in Grok?**

No. Spiral runs Search products on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Search products in Grok?**

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

**Does Grok wait while Search products runs?**

Search products runs in the background. Grok starts the run, checks on it and gives you the json when it's ready.

**Does Shopify Storefront Catalog search every Shopify store?**

No. Storefront Catalog is scoped to one merchant's storefront, so a result from one store does not establish what another store sells.

**Does a search page represent the complete matching catalog?**

Not necessarily. Search uses cursor pagination, and Shopify's catalog protocol allows fewer results than the requested page size.

**How many known products can a lookup resolve?**

Storefront Catalog accepts up to 10 product or purchasable-option identifiers in one lookup. A missing identifier can reduce the number of products returned.

**Can unavailable products appear in the data?**

Yes. Shopify's Storefront Catalog extension lets search and lookup include unavailable items, so presence in the catalog does not by itself mean an item is available to buy.

**Does product detail return every size and color combination?**

The details response includes product options, but the returned buying combinations can be a subset matching the effective selections. Use its option availability signals when narrowing a purchase choice.

