shopify-install-auth

Featured

Install and configure Shopify app authentication with OAuth, session tokens, and the @shopify/shopify-api SDK. Use when setting up a new Shopify app, configuring API credentials, or initializing authentication for Admin or Storefront API access. Trigger with phrases like "install shopify", "setup shopify", "shopify auth", "shopify OAuth", "configure shopify API".

AI & Automation 2,944 stars 440 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Shopify Install & Auth ## Overview Set up Shopify app authentication using the official `@shopify/shopify-api` library. Covers OAuth flow, session token exchange, custom app tokens, and Storefront API access. ## Prerequisites - Node.js 18+ (the `@shopify/shopify-api` v9+ requires it) - A Shopify Partner account at https://partners.shopify.com - An app created in the Partner Dashboard with API credentials - A development store for testing ## Instructions ### Step 1: Install the Shopify API Library ```bash # Core library + Node.js runtime adapter npm install @shopify/shopify-api @shopify/shopify-app-remix # Or for standalone Node apps: npm install @shopify/shopify-api @shopify/shopify-app-express # For Remix (recommended by Shopify): npm install @shopify/shopify-app-remix @shopify/app-bridge-react ``` ### Step 2: Configure Environment Variables Create a `.env` file (add to `.gitignore` immediately): ```bash # .env — NEVER commit this file SHOPIFY_API_KEY=your_app_api_key SHOPIFY_API_SECRET=your_app_api_secret SHOPIFY_SCOPES=read_products,write_products,read_orders,write_orders SHOPIFY_APP_URL=https://your-app.example.com SHOPIFY_HOST_NAME=your-app.example.com # For custom/private apps only: SHOPIFY_ACCESS_TOKEN=shpat_xxxxxxxxxxxxxxxxxxxxx # API version — use a stable quarterly release SHOPIFY_API_VERSION=2024-10 ``` ```bash # .gitignore — add these immediately .env .env.local .env.*.local ``` ### Step 3: Initialize the Shopify API Library ```typescript // src/...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category